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';
5
5
import {
6
6
ViewProps ,
7
7
NativeSyntheticEvent ,
8
- NativeMethodsMixin ,
8
+ NativeMethods ,
9
9
Constructor ,
10
10
TargetedEvent ,
11
11
} from 'react-native' ;
@@ -17,17 +17,32 @@ export interface NativeSegmentedControlIOSChangeEvent extends TargetedEvent {
17
17
18
18
export type FontStyle = {
19
19
/**
20
- * Font Color of Segmented Control when Active
20
+ * Font Color of Segmented Control
21
21
*/
22
22
color ?: string ;
23
23
/**
24
- * Font Size of Segmented Control when Active
24
+ * Font Size of Segmented Control
25
25
*/
26
26
fontSize ?: number ;
27
27
/**
28
- * Font Family of the Segmented Control when Active
28
+ * Font Family of the Segmented Control
29
29
*/
30
30
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' ;
31
46
} ;
32
47
33
48
export interface SegmentedControlProps extends ViewProps {
@@ -115,6 +130,6 @@ export interface SegmentedControlProps extends ViewProps {
115
130
declare class SegmentedControlComponent extends React . Component <
116
131
SegmentedControlProps
117
132
> { }
118
- declare const SegmentedControlBase : Constructor < NativeMethodsMixin > &
133
+ declare const SegmentedControlBase : Constructor < NativeMethods > &
119
134
typeof SegmentedControlComponent ;
120
135
export default class SegmentedControl extends SegmentedControlBase { }
You can’t perform that action at this time.
0 commit comments