import React, { useState } from 'react';
import { storiesOf } from '@storybook/react-native';
import { select } from '@storybook/addon-knobs';
import { Checkbox } from '@aws-amplify/ui-react-native/dist/primitives';
const StatefulCheckbox = ({ ...props }: any) => {
const [value, setValue] = useState(props.value);
const onChange = (nextValue: string) => {
setValue(nextValue);
};
return ;
};
storiesOf('Checkbox', module)
.add('default', () => )
.add('with Label', () => (
))
.add('selected', () => )
.add('disabled', () => );