SheetXL - v1.0.7
    Preparing search index...

    Interface PresetChipProps

    One swatch in a preset strip, and the frame every format preview in this editor draws in.

    Every tab's gallery is the same control at the same size — a dxf, a color scale, a data bar, or the chip that clears — so the strips line up as the user moves between tabs. Callers paint the inside; this owns the footprint, the frame and the hover.

    interface PresetChipProps {
        disabled?: boolean;
        sheet?: boolean;
        sx?: SxProps<Theme>;
        title?: string;
    }

    Hierarchy

    • HTMLAttributes<HTMLElement>
      • PresetChipProps
    Index
    disabled?: boolean
    sheet?: boolean

    The chip paints a CELL rather than a control.

    A cell chip adopts the grid surface and the grid's own light/dark — which is not the app's, Enable Dark Grid gates it — so its paper, its gridline frame and any 'adaptive' color the caller paints inside resolve to what the sheet will actually draw. Off (the default) the chip is chrome: transparent, framed in the panel's divider, and it inherits the app's mode.

    false
    
    sx?: SxProps<Theme>
    title?: string

    Hover text. A chip whose content already names it can omit this.