import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { Select , ISelectProps } from './Select' ; export default { title : 'Components/forms/Select' , component : Select } as Meta ; const Template = ( args ) => < Select { ... args } / > ; export const SelectView = Template . bind ( { } ) ; SelectView . args = { options : [ { value : 'chocolate' , label : 'Chocolate' } , { value : 'strawberry' , label : 'Strawberry' } , { value : 'vanilla' , label : 'Vanilla' } ] , placeholder : '' } ;