SideDialogPanelProps
@firecms/core / SideDialogPanelProps
Interface: SideDialogPanelProps
Section titled “Interface: SideDialogPanelProps”Defined in: types/side_dialogs_controller.tsx:43
Props used to open a side dialog
Properties
Section titled “Properties”additional?
Section titled “additional?”
optionaladditional:any
Defined in: types/side_dialogs_controller.tsx:81
Use this prop to store additional data in the panel
component
Section titled “component”component:
ReactNode
Defined in: types/side_dialogs_controller.tsx:53
The component type that will be rendered
key:
string
Defined in: types/side_dialogs_controller.tsx:48
A key that identifies this panel
onClose()?
Section titled “onClose()?”
optionalonClose: () =>void
Defined in: types/side_dialogs_controller.tsx:76
Callback when the panel is closed
Returns
Section titled “Returns”void
parentUrlPath?
Section titled “parentUrlPath?”
optionalparentUrlPath:string
Defined in: types/side_dialogs_controller.tsx:71
If the navigation stack is empty (you landed in the urlPath url), what
url path to change to when the panel gets closed.
urlPath?
Section titled “urlPath?”
optionalurlPath:string
Defined in: types/side_dialogs_controller.tsx:65
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.
width?
Section titled “width?”
optionalwidth:string
Defined in: types/side_dialogs_controller.tsx:58
Optional width of the panel