Skip to main content

SideDialogPanelProps

Props used to open a side dialog

Index

Properties

component

component: ReactNode

The component type that will be rendered

key

key: string

A key that identifies this panel

optionalonClose

onClose?: () => void

Callback when the panel is closed


Type declaration

    • (): void
    • Returns void

optionalparentUrlPath

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.

optionalurlPath

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.

optionalwidth

width?: string

Optional width of the panel

Sign up to our newsletter to get the latest news and updates. No spam!