import { Story , Meta } from '@storybook/react' ; import { Spinner , ISpinner } from './Spinner' ; import React from 'react' ; const Template = ( args ) => < Spinner { ... args } / > ; export const SpinnerExample = Template . bind ( { } ) ; SpinnerExample . args = { id : 'Spinner' , baseColor : '#4C68C1' } ; export default { title : 'Components/Interface/Spinner' , component : Spinner } as Meta ;