Enode — API Reference
    Preparing search index...
    • Parameters

      • __namedParameters: {
            deleteLabel?: string;
            onDelete: () => void;
            onDone: () => void;
            onTag?: () => void;
            onToggleValid?: () => void;
            tagButtonRef?: RefObject<HTMLButtonElement | null>;
        }
        • OptionaldeleteLabel?: string

          Overrides the destructive button's label. A surface that STAGES deletion makes the same button take it back, and then it has to say so ("Restore"); one that deletes immediately leaves this alone.

        • onDelete: () => void
        • onDone: () => void
        • OptionalonTag?: () => void

          Opens the host's tag picker for the selected reps. Omit to leave the pill without a Tag button. tagButtonRef anchors the picker to the button.

        • OptionalonToggleValid?: () => void

          Flips the selected reps' validity. Omit to leave the pill without a "Toggle valid" button (a surface that may only delete reps).

        • OptionaltagButtonRef?: RefObject<HTMLButtonElement | null>

      Returns Element