Skip to content

Chips beta ​

Function of @v12-engine/client/hud

ts
export declare function Chips(props: {
    chips: readonly Chip[];
    value?: string;
    onPick?: (id: string) => void;
    label?: string;
    wrap?: boolean;
    class?: string;
}): JSX.Element;

Chips to pick one of, on Ark's ToggleGroup (the keyboard moves between them): the subgroups of what is selected. The one picked has the gold face; picking is the caller's (onPick), and so is what is picked (value)