|
| 1 | +import { VStack } from '@devup-ui/react' |
| 2 | + |
| 3 | +import { MenuItem } from '../docs/MenuItem' |
| 4 | + |
| 5 | +export function LeftMenu() { |
| 6 | + return ( |
| 7 | + <VStack gap="6px"> |
| 8 | + <MenuItem to="/components/overview">Overview</MenuItem> |
| 9 | + <MenuItem |
| 10 | + subMenu={[ |
| 11 | + { to: '/components/form/button', children: 'Button' }, |
| 12 | + { to: '/components/form/text-box', children: 'Text box' }, |
| 13 | + { to: '/components/form/text-area', children: 'Text area' }, |
| 14 | + { to: '/components/form/dropdown', children: 'Dropdown' }, |
| 15 | + { to: '/components/form/radio', children: 'Radio' }, |
| 16 | + { to: '/components/form/checkbox', children: 'Checkbox' }, |
| 17 | + { to: '/components/form/stepper', children: 'Stepper' }, |
| 18 | + { to: '/components/form/toggle', children: 'Toggle' }, |
| 19 | + { to: '/components/form/slider', children: 'Slider' }, |
| 20 | + { to: '/components/form/date-picker', children: 'Date picker' }, |
| 21 | + { to: '/components/form/color-picker', children: 'Color picker' }, |
| 22 | + { to: '/components/form/uploader', children: 'Uploader' }, |
| 23 | + { to: '/components/form/pagination', children: 'Pagination' }, |
| 24 | + { to: '/components/form/progress-bar', children: 'Progress Bar' }, |
| 25 | + { to: '/components/form/search', children: 'Search' }, |
| 26 | + { to: '/components/form/select', children: 'Select' }, |
| 27 | + { to: '/components/form/label', children: 'Label' }, |
| 28 | + ]} |
| 29 | + > |
| 30 | + Form |
| 31 | + </MenuItem> |
| 32 | + <MenuItem |
| 33 | + subMenu={[ |
| 34 | + { to: '/components/layout/footer', children: 'Footer' }, |
| 35 | + { to: '/components/layout/tooltip', children: 'Tooltip' }, |
| 36 | + { to: '/components/layout/tab', children: 'Tab' }, |
| 37 | + { to: '/components/layout/menu', children: 'Menu' }, |
| 38 | + { to: '/components/layout/header', children: 'Header' }, |
| 39 | + { to: '/components/layout/confirm', children: 'Confirm' }, |
| 40 | + { to: '/components/layout/snackbar', children: 'Snackbar' }, |
| 41 | + { to: '/components/layout/bottom-sheet', children: 'Bottom sheet' }, |
| 42 | + ]} |
| 43 | + > |
| 44 | + Layout |
| 45 | + </MenuItem> |
| 46 | + <MenuItem |
| 47 | + subMenu={[ |
| 48 | + { to: '/components/theme/theme-button', children: 'Theme Button' }, |
| 49 | + ]} |
| 50 | + > |
| 51 | + Theme |
| 52 | + </MenuItem> |
| 53 | + </VStack> |
| 54 | + ) |
| 55 | +} |
0 commit comments