Interface: SideDialogPanelProps
Props used to open a side dialog
Properties​
component​
• component: ReactNode
The component type that will be rendered
Defined in​
lib/src/types/side_dialogs_controller.tsx:45
key​
• key: string
A key that identifies this panel
Defined in​
lib/src/types/side_dialogs_controller.tsx:40
onClose​
• Optional
onClose: () => void
Type declaration​
â–¸ (): void
Callback when the panel is closed
Returns​
void
Defined in​
lib/src/types/side_dialogs_controller.tsx:68
parentUrlPath​
• Optional
parentUrlPath: string
If the navigation stack is empty (you landed in the urlPath
url), what
url path to change to when the panel gets closed.
Defined in​
lib/src/types/side_dialogs_controller.tsx:63
urlPath​
• Optional
urlPath: string
When open, change the URL to this path.
Note that if you want to restore state from a URL you need to add the
logic yourself by listening to URL updates, and probably call open
.
Defined in​
lib/src/types/side_dialogs_controller.tsx:57
width​
• Optional
width: string
Optional width of the panel