import { StackProps, VStack } from '@chakra-ui/react'; import { Meta } from '@storybook/react'; import { SetStateAction, useState } from 'react'; import { theme } from '../../modules/theme'; import { Select } from '.'; const SELECT_SIZES = ['sm', 'md', 'lg', 'xl'] as const; const OPTIONS = [ { value: 1, label: 'One' }, { value: 2, label: 'Two' }, { value: 3, label: 'Three' }, ]; interface Option { value: number; label: string; } export default { title: 'Components/Atoms/Select', } as Meta; const Stack = (props: StackProps) => { return ( *': { w: '100%', }, }} {...props} /> ); }; export const Default = () => { const [selectedOption, setSelectedOpen] = useState