SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface FloatProviderProps

    interface FloatProviderProps {
        children?: ReactNode;
        createPopupPanel?: (props: FloatPopupPanelProps) => any;
        isolate?: boolean;
        propsFloatPanel?: Partial<FloatPanelProps>;
        renderFloatPanel?: RenderFloatPanel;
        rootRef?: Ref<FloatReference>;
        themeMode?: ThemeMode;
        themeScopeClass?: string;
        themeSurface?: string;
    }
    Index
    children?: ReactNode
    createPopupPanel?: (props: FloatPopupPanelProps) => any

    Default panel-content factory for descendants. Inherited when omitted.

    isolate?: boolean

    Establish an isolated state root for this subtree (its own open-tree, focus/click-away coordination and debounce), independent of other roots on the page. Mount on the boundary that should coordinate as a unit (e.g. an app or split-view container). Without it, a nested provider inherits the enclosing root — but a top-level provider (no enclosing float) still auto-roots, so isolate is only needed to force a NEW root when nested.

    propsFloatPanel?: Partial<FloatPanelProps>

    Extra props merged into the rendered panel. Inherited when omitted.

    renderFloatPanel?: RenderFloatPanel

    The floating surface for descendants. When omitted, the surface is inherited from an outer provider (and ultimately the neutral FloatPanel).

    rootRef?: Ref<FloatReference>

    Receives the root float in effect for this subtree, so an owner outside the subtree can drive it imperatively (e.g. rootRef.current.closeAll() on webview focus loss). isolate creates a root; this only exposes it.

    Set with or without isolate: the owned root when this provider roots (isolating, or top of the tree), otherwise the inherited root. Always set to a root (never null) while mounted.

    themeMode?: ThemeMode

    The data-sxl-theme-mode floats in this subtree open with (nearest provider wins). App sets its mode.

    themeScopeClass?: string

    Add a per-instance scope class to the theme floats in this subtree carry (see FloatThemeScope). Accumulates onto any inherited scope classes, so a float resolves every ancestor instance's scoped tokens. An app/instance sets this to its own scope class (e.g. sheetxl-studio-<id>).

    themeSurface?: string

    The data-sxl-theme-surface floats in this subtree open with (nearest provider wins). App sets app.