import { ButtonSplit } from '../ButtonSplit' ; import PicassoBook from '~/.storybook/components/PicassoBook' ; const chapter = PicassoBook . connectToPage ( page => page . createChapter ( 'Split Button' , 'Combine dropdown with menu and a button.' ) . addExample ( 'ButtonSplit/story/Variants.example.tsx' , 'Variants' ) . addExample ( 'ButtonSplit/story/Sizes.example.tsx' , 'Sizes' ) . addExample ( 'ButtonSplit/story/States.example.tsx' , 'States' ) ) ; const componentDocs = PicassoBook . createComponentDocs ( ButtonSplit , 'Button.Split' ) ; export default { chapter , componentDocs } ;