@k8slens/extensions / Exports / Renderer / Component / DrawerProps
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: StrictReactNode
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: StrictReactNode
toolbar#
• Optional
toolbar: StrictReactNode
usePortal#
• Optional
usePortal: boolean