import { CssProps } from 'lupine.web'; import { DemoStory } from '../../demo/demo-types'; import { MobileSideMenu, MobileSideMenuHelper } from './mobile-side-menu'; import { SideMenuMock } from '../../demo/mock/side-menu-mock'; export const mobileSideMenuDemo: DemoStory = { id: 'mobile-side-menu-demo', text: 'Mobile Side Menu', args: {}, argTypes: {}, render: () => { const css: CssProps = { '.demo-content': { padding: '20px', textAlign: 'center', }, }; return (

Mobile Side Menu Demo

You can open the menu by clicking the button below,

OR by swiping from the left edge of the screen to the right.

{/* The MobileSideMenu component wrapper */}
); }, code: `// Show using method: MobileSideMenuHelper.show(); {/* Add your custom content directly here */}
My Menu Content
`, };