Skip to content

Commit d2890f9

Browse files
committed
Fix error in StackAggregator example screen
1 parent 5365f22 commit d2890f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/src/screens/componentScreens/StackAggregatorScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _ from 'lodash';
22
import React, {Component} from 'react';
33
import {ScrollView} from 'react-native';
4-
import {View, Text, Button, ButtonSize, StackAggregator} from 'react-native-ui-lib';
4+
import {View, Text, Button, StackAggregator} from 'react-native-ui-lib';
55

66

77
const contents = [
@@ -24,7 +24,7 @@ export default class StackAggregatorScreen extends Component {
2424
renderItem = (_: string, index: number) => {
2525
return (
2626
<View key={index} center padding-12>
27-
<Button label={`${index}`} marginB-10 size={ButtonSize.small} onPress={() => this.onPress(index)}/>
27+
<Button label={`${index}`} marginB-10 size={Button.sizes.small} onPress={() => this.onPress(index)}/>
2828
<Text>{contents[index]}</Text>
2929
</View>
3030
);

0 commit comments

Comments
 (0)