import React from 'react';
import { StyleSheet } from 'react-native';
import { storiesOf } from '@storybook/react-native';
import { object, select } from '@storybook/addon-knobs';
import { Label } from '@aws-amplify/ui-react-native/dist/primitives/Label';
import { LabelVariation } from '@aws-amplify/ui-react-native/dist/primitives/Label/types';
const variations: LabelVariation[] = [
'primary',
'secondary',
'tertiary',
'error',
'warning',
'info',
'success',
];
storiesOf('Label', module)
.add('Default', () => )
.add('Styled', () => )
.add('Variations', () => (
<>
{variations.map((variation) => (
))}
>
))
.add('Playground', () => (
));
const styles = StyleSheet.create({
redText: {
color: 'red',
},
});