Content
🛠️
This section is under development.
Contains content to be rendered in the open drawer.
import { Drawer } from '@vladyoslav/drawer'
// or import { DrawerContent } from '@vladyoslav/drawer'
export const MyComponent = () => (
<Drawer.Root>
<Drawer.Trigger />
<Drawer.Portal>
<Drawer.Overlay />
<Drawer.Content>
...
</Drawer.Content>
</Drawer.Portal>
</Drawer.Root>
)
API
The Content
component takes all props from @radix-ui/react-dialog
(opens in a new tab)