Interface: DrawerProps#
Renderer.Component.DrawerProps
Table of contents#
Properties#
- animation
- children
- className
- contentClass
- data-testid
- onClose
- open
- position
- size
- testIdForClose
- title
- toolbar
- usePortal
Properties#
animation#
• Optional animation: string
children#
• Optional children: SingleOrMany<ReactNode>
className#
• Optional className: string | object
contentClass#
• Optional contentClass: string | object
data-testid#
• Optional data-testid: string
onClose#
• Optional onClose: () => void
Type declaration#
▸ (): void
Returns#
void
open#
• open: boolean
position#
• Optional position: DrawerPosition
size#
• Optional size: string
The width or heigh (depending on position) of the Drawer.
If not set then the Drawer will be resizable.
testIdForClose#
• Optional testIdForClose: string
title#
• title: ReactNode
toolbar#
• Optional toolbar: ReactNode
usePortal#
• Optional usePortal: boolean