Interface FloatStackOptions

interface FloatStackOptions {
    anchor?: any;
    createPopupPanel?: ((props) => ReactNode);
    label?: string;
    onClose?: (() => void);
    onOpen?: (() => void);
    parentFloat?: FloatReference;
    popperProps?: Partial<ExhibitPopperProps>;
}

Properties

anchor?: any
createPopupPanel?: ((props) => ReactNode)

If this returns null then this will still create a registered floating stacking. This is done for toolbars and other permanent visible components that are integrated into the floating stack

Type declaration

label?: string
onClose?: (() => void)

Type declaration

    • (): void
    • Returns void

onOpen?: (() => void)

Type declaration

    • (): void
    • Returns void

parentFloat?: FloatReference

If nesting float stacks are being used pass this from parent

popperProps?: Partial<ExhibitPopperProps>

Passed to the underlying popup panel