ducks.overlays.Overlays.d.ts Maven / Gradle / Ivy
export interface OverlayProps {
pageId: string
pageUrl: string
pathMapping: {
queryMapping: object
size: string
}
scrollable: boolean
closeButton: boolean
prompt: boolean
hasHeader: boolean
backdrop: string
mode?: boolean
}
export interface Overlay {
visible: boolean
name: string
mode: 'modal' | 'drawer' | 'dialog' | 'popover'
type: 'page' | 'confirm'
props?: Record
showPrompt?: boolean
id?: string
}
export type State = Overlay[]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy