OverlayShellProps
@mandaitor/react / OverlayShellProps
Interface: OverlayShellProps
Defined in: components/OverlayShell.d.ts:3
Properties
activeMandate?
optionalactiveMandate?:Mandate
Defined in: components/OverlayShell.d.ts:15
Current active mandate for summary display
availableActions?
optionalavailableActions?:ActionOption[]
Defined in: components/OverlayShell.d.ts:17
Available actions for the mandate creator
className?
optionalclassName?:string
Defined in: components/OverlayShell.d.ts:25
Additional CSS class
defaultOpen?
optionaldefaultOpen?:boolean
Defined in: components/OverlayShell.d.ts:7
Default open state when uncontrolled
defaultResources?
optionaldefaultResources?:string[]
Defined in: components/OverlayShell.d.ts:19
Default resources for new mandates
onMandateCreated?
optionalonMandateCreated?: (mandate) =>void
Defined in: components/OverlayShell.d.ts:21
Callback when a mandate is created
Parameters
mandate
Mandate
Returns
void
onOpenChange?
optionalonOpenChange?: (open) =>void
Defined in: components/OverlayShell.d.ts:9
Callback when overlay open state changes
Parameters
open
boolean
Returns
void
onStatusChange?
optionalonStatusChange?: (mandate,newStatus) =>void
Defined in: components/OverlayShell.d.ts:23
Callback when a mandate status changes
Parameters
mandate
Mandate
newStatus
MandateStatus
Returns
void
open?
optionalopen?:boolean
Defined in: components/OverlayShell.d.ts:5
Whether the overlay is open
position?
optionalposition?:"right"|"left"|"bottom-right"|"bottom-left"
Defined in: components/OverlayShell.d.ts:11
Position of the overlay
width?
optionalwidth?:number
Defined in: components/OverlayShell.d.ts:13
Width of the overlay panel