windease API reference - v0.6.0
    Preparing search index...

    Interface PanelProps

    interface PanelProps {
        acceptsDrops?: boolean;
        children?: ReactNode;
        className?: string;
        container?: { config?: unknown; strategyId: string };
        "data-testid"?: string;
        draggable?: boolean;
        hidden?: boolean;
        id?: NodeId;
        meta?: Record<string, unknown>;
        order?: number;
        parentId?: NodeId;
        placement?: Record<string, unknown>;
        style?: CSSProperties;
        title?: ReactNode;
    }

    Hierarchy

    • CommonBindingProps
    • PresentationalProps
      • PanelProps
    Index

    Properties

    acceptsDrops?: boolean

    When true, registers this preset's wrapper element as a drop target so consumers can drag items into it. The element must have a container capability (Zone and Group always do; Panel needs the container prop).

    children?: ReactNode
    className?: string
    container?: { config?: unknown; strategyId: string }

    Promotes this panel to a container with the given strategy. Lets it host nested presets (<Panel container={...}><Panel /></Panel>). When absent, Panel is a leaf — nested presets will fail with "parent has no container".

    "data-testid"?: string
    draggable?: boolean

    When true, wraps the panel's rendered content in a DragHandle so the user can drag this panel to another acceptsDrops target.

    hidden?: boolean
    id?: NodeId
    meta?: Record<string, unknown>
    order?: number
    parentId?: NodeId
    placement?: Record<string, unknown>
    style?: CSSProperties
    title?: ReactNode