SheetXL - v1.0.2
    Preparing search index...

    Interface PivotChipProps

    Props for PivotChip.

    interface PivotChipProps {
        area: Area;
        chip: Chip;
        dragging?: boolean;
        menuButton?: ReactNode;
        onRename?: (name: string | null) => void;
        overlay?: boolean;
        propsCaption?: HTMLAttributes<HTMLElement> & { ref?: Ref<HTMLElement> } & Record<
            `data-${string}`,
            string,
        >;
        ref?: Ref<HTMLElement>;
        renaming?: boolean;
    }

    Hierarchy

    • HTMLAttributes<HTMLElement>
      • PivotChipProps
    Index
    area: Area

    The area it is in: the values' slot says which way it lays the values out.

    chip: Chip

    What the chip shows.

    dragging?: boolean

    The original, while its copy is dragged.

    menuButton?: ReactNode

    Drawn at the chip's end: its ▾.

    onRename?: (name: string | null) => void

    The name typed, when renaming ends; null when it was given up.

    overlay?: boolean

    Drawn as the copy that follows the pointer during a drag.

    propsCaption?: HTMLAttributes<HTMLElement> & { ref?: Ref<HTMLElement> } & Record<
        `data-${string}`,
        string,
    >

    Spread on the caption, which takes the chip's focus and starts its drag.

    ref?: Ref<HTMLElement>
    renaming?: boolean

    An input over the caption, to rename the chip.