| 15 | } |
| 16 | |
| 17 | interface 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 | |
| 36 | const onPreventMouseDown = (event: React.MouseEvent) => { |
| 37 | event.preventDefault(); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…