Skip to main content

DrawerProps

DrawerProps = Omit<ComponentPropsWithRef<"div">, "onChange"> & object

Type Declaration

defaultView?

optional defaultView: UniqueId

id

id: UniqueId

onChange()?

optional onChange: (view) => void

Parameters

view

UniqueId | null

Returns

void

placement?

optional placement: XAxisUnion | YAxisUnion

The placement of the drawer.

Default

'left'

size?

optional size: "small" | "medium" | "large"

The size of the drawer.

Default

'medium'