MultipleSelector.d.ts 725 B

12345678910111213141516
  1. import * as React from 'react';
  2. import type { InnerSelectorProps } from '.';
  3. import type { DisplayValueType, RenderNode, CustomTagProps } from '../BaseSelect';
  4. interface SelectorProps extends InnerSelectorProps {
  5. removeIcon?: RenderNode;
  6. maxTagCount?: number | 'responsive';
  7. maxTagTextLength?: number;
  8. maxTagPlaceholder?: React.ReactNode | ((omittedValues: DisplayValueType[]) => React.ReactNode);
  9. tokenSeparators?: string[];
  10. tagRender?: (props: CustomTagProps) => React.ReactElement;
  11. onToggleOpen: (open?: boolean) => void;
  12. choiceTransitionName?: string;
  13. onRemove: (value: DisplayValueType) => void;
  14. }
  15. declare const SelectSelector: React.FC<SelectorProps>;
  16. export default SelectSelector;