File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed
example/storybook/stories/components Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const Example = () => {
28
28
} ,
29
29
] ;
30
30
return (
31
- < Center h = "80" >
31
+ < Center h = "80" w = "100%" >
32
32
< SectionList
33
33
maxW = "300"
34
34
w = "100%"
Original file line number Diff line number Diff line change @@ -3,17 +3,6 @@ import { Radio } from 'native-base';
3
3
4
4
export const Example = ( ) => {
5
5
const [ value , setValue ] = React . useState ( 'one' ) ;
6
- const ref = React . useRef ( null ) ;
7
- React . useEffect ( ( ) => {
8
- console . log ( 'ref here' , ref . current ) ;
9
- // ref.current.setNativeProps({
10
- // backgroundColor: 'red',
11
- // });
12
- // ref.current.setNativeProps({
13
- // backgroundColor: 'red',
14
- // });
15
- ref . current . focus ( ) ;
16
- } , [ ] ) ;
17
6
return (
18
7
< Radio . Group
19
8
name = "myRadioGroup"
@@ -23,10 +12,10 @@ export const Example = () => {
23
12
setValue ( nextValue ) ;
24
13
} }
25
14
>
26
- < Radio value = "one" my = { 1 } bg = "blue.200" >
15
+ < Radio value = "one" my = { 1 } >
27
16
One
28
17
</ Radio >
29
- < Radio value = "two" my = { 1 } bg = "red.200" ref = { ref } >
18
+ < Radio value = "two" my = { 1 } >
30
19
Two
31
20
</ Radio >
32
21
</ Radio . Group >
Original file line number Diff line number Diff line change 37
37
" prettier --write"
38
38
]
39
39
},
40
- "version" : " 3.3.6-rc.2 " ,
40
+ "version" : " 3.3.6" ,
41
41
"license" : " MIT" ,
42
42
"private" : false ,
43
43
"main" : " lib/commonjs/index" ,
You can’t perform that action at this time.
0 commit comments