import { DRAWER_POSITION, Drawer, type DrawerProp, DrawerBody, DrawerContent, DrawerTrigger } from '../../src'; export default { component: Drawer, title: 'Tests navigation', }; // A focusable element on each side of the drawer: its content is portaled at the end of the body, // so a Tab from the last one of the page would reach it. const DrawerBetweenButtons = (props: DrawerProp) => ( <> Trigger ); export const withBackdrop = () => ( ); export const withoutBackdrop = () => ( );