import { Story , Meta } from '@storybook/react' ; import { Tabs , Tab , IProps } from './Tabs' ; import React from 'react' ; export default { title : 'Components/Interface/Tabs' , component : Tabs } as Meta ; const Template = ( ) => ( < Tabs id = "Tabs" > < Tab id = "Child" active = { true } > { ' ' } Child < /Tab> < Tab id = "Mother" > Mother < /Tab> < Tab id = "Father" > Father < /Tab> < Tab id = "Informant" disabled = { true } > Informant < /Tab> < Tab id = "Registration" > Registration < /Tab> < /Tabs>); export const TabsView = Template . bind ( { } ) ;