File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as React from 'react';
55import {
66 ViewProps ,
77 NativeSyntheticEvent ,
8- NativeMethodsMixin ,
8+ NativeMethods ,
99 Constructor ,
1010 TargetedEvent ,
1111} from 'react-native' ;
@@ -17,17 +17,32 @@ export interface NativeSegmentedControlIOSChangeEvent extends TargetedEvent {
1717
1818export type FontStyle = {
1919 /**
20- * Font Color of Segmented Control when Active
20+ * Font Color of Segmented Control
2121 */
2222 color ?: string ;
2323 /**
24- * Font Size of Segmented Control when Active
24+ * Font Size of Segmented Control
2525 */
2626 fontSize ?: number ;
2727 /**
28- * Font Family of the Segmented Control when Active
28+ * Font Family of the Segmented Control
2929 */
3030 fontFamily ?: string ;
31+ /**
32+ * Font Weight of the Segmented Control
33+ */
34+ fontWeight ?:
35+ | 'normal'
36+ | 'bold'
37+ | '100'
38+ | '200'
39+ | '300'
40+ | '400'
41+ | '500'
42+ | '600'
43+ | '700'
44+ | '800'
45+ | '900' ;
3146} ;
3247
3348export interface SegmentedControlProps extends ViewProps {
@@ -115,6 +130,6 @@ export interface SegmentedControlProps extends ViewProps {
115130declare class SegmentedControlComponent extends React . Component <
116131 SegmentedControlProps
117132> { }
118- declare const SegmentedControlBase : Constructor < NativeMethodsMixin > &
133+ declare const SegmentedControlBase : Constructor < NativeMethods > &
119134 typeof SegmentedControlComponent ;
120135export default class SegmentedControl extends SegmentedControlBase { }
You can’t perform that action at this time.
0 commit comments