File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
demo/src/screens/componentScreens Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
15
15
Colors
16
16
} from 'react-native-ui-lib' ;
17
17
import * as ExampleScreenPresenter from '../ExampleScreenPresenter' ;
18
- import { ButtonSize } from '../../../../src/components/button' ;
19
18
20
19
const AVATAR_SIZE = 48 ;
21
20
@@ -86,15 +85,15 @@ export default class SkeletonViewScreen extends Component {
86
85
< Button
87
86
label = { isDataAvailable ? 'Hide data' : 'Show data' }
88
87
style = { [ styles . toggleButton ] }
89
- size = { ButtonSize . small }
88
+ size = { Button . sizes . small }
90
89
outline = { ! isDataAvailable }
91
90
onPress = { this . toggleVisibility }
92
91
/>
93
92
{ dataType === DATA_TYPE . List && (
94
93
< Button
95
94
label = { isLarge ? 'Set items to small' : 'Set items to large' }
96
95
style = { [ styles . toggleButton ] }
97
- size = { ButtonSize . small }
96
+ size = { Button . sizes . small }
98
97
outline = { ! isLarge }
99
98
onPress = { this . setSize }
100
99
/>
You can’t perform that action at this time.
0 commit comments