MCPcopy Create free account
hub / github.com/react-component/select / SelectorProps

Interface SelectorProps

src/Selector/MultipleSelector.tsx:17–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17interface SelectorProps extends InnerSelectorProps {
18 // Icon
19 removeIcon?: RenderNode;
20
21 // Tags
22 maxTagCount?: number | 'responsive';
23 maxTagTextLength?: number;
24 maxTagPlaceholder?: React.ReactNode | ((omittedValues: DisplayValueType[]) => React.ReactNode);
25 tokenSeparators?: string[];
26 tagRender?: (props: CustomTagProps) => React.ReactElement;
27 onToggleOpen: (open?: boolean) => void;
28
29 // Motion
30 choiceTransitionName?: string;
31
32 // Event
33 onRemove: (value: DisplayValueType) => void;
34}
35
36const onPreventMouseDown = (event: React.MouseEvent) => {
37 event.preventDefault();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…