import React, { useState } from 'react'; import { PixelDrawer } from './PixelDrawer'; export function Default() { const [open, setOpen] = useState(false); return ( <> setOpen(true)}> Open drawer Settings setOpen(false)}> Close Drawer content goes here. setOpen(false)}> Done > ); } export function LeftSide() { const [open, setOpen] = useState(false); return ( <> setOpen(true)}> Open left drawer Navigation Menu items here. > ); } export function BottomSheet() { const [open, setOpen] = useState(false); return ( <> setOpen(true)}> Open bottom sheet Sheet content. setOpen(false)}> Cancel > ); }
Drawer content goes here.
Menu items here.
Sheet content.