import menuItemStory from '../../MenuItem/story' ; import { Menu } from '../Menu' ; import PicassoBook from '~/.storybook/components/PicassoBook' ; const page = PicassoBook . section ( 'Components' ) . createPage ( 'Menu' , 'Menu list.' ) ; page . createTabChapter ( 'Props' ) . addComponentDocs ( { component : Menu , name : 'Menu' } ) . addComponentDocs ( menuItemStory . componentDocs ) ; page . createChapter ( ) . addExample ( 'Menu/story/Default.example.tsx' , 'Default' ) . addExample ( 'Menu/story/Nested.example.tsx' , 'Nested' ) . addExample ( 'Menu/story/Dropdown.example.tsx' , 'Dropdown' ) ; page . connect ( menuItemStory . chapter ) ;