import React from 'react'; import styled from 'styled-components'; import Select from './'; import { options } from './options'; import { Story } from '@storybook/react'; import { SelectProps } from './Select'; const Container = styled.div` display: flex; height: 100%; width: 100%; justify-content: center; align-items: center; > div { width: 90%; } `; export default { title: 'Select', component: Select, }; type TemplateArgs = Omit< SelectProps<{ value: string; label: string }, boolean>, 'value' > & { value: string }; // eslint-disable-next-line react/prop-types const Template: Story = ({ value, ...args }) => (