import React from 'react' ; import { Story , Meta } from '@storybook/react' ; import { LinkButton , IButtonProps } from '.' ; const Template = ( args ) => ( < LinkButton { ... args } > Click here < /LinkButton>); export default { title : 'Components/Buttons/LinkButton' , component : LinkButton , argTypes : { icon : { control : { type : 'select' , options : [ ] } } , align : { control : { type : 'select' , options : [ 'LEFT' , 'RIGHT' ] } } } } as Meta ; export const LinkButtonView = Template . bind ( { } ) ; LinkButtonView . args = { id : 'myLinkButton' , onClick : ( ) => alert ( 'Hello' ) } ;