import { DRAWER_POSITION, Drawer, DrawerBody, DrawerContent, DrawerTrigger } from '../../src'; export default { component: Drawer, title: 'Tests rendering', }; export const render = () => ( Trigger Content ); export const withBackdrop = () => ( Trigger Content ); export const withoutBackdrop = () => ( Trigger Content ); // The three non-modal variants: closed, they used to intercept clicks on their area. export const closedInert = () => ( <> Portal Portaled, no backdrop Backdrop false Portaled, backdrop false Inline Not portaled, no backdrop );