PromoCursed/node_modules/rc-select/lib/Selector/MultipleSelector.d.ts
2024-08-20 23:25:37 +04:00

17 lines
725 B
TypeScript

import * as React from 'react';
import type { InnerSelectorProps } from '.';
import type { DisplayValueType, RenderNode, CustomTagProps } from '../BaseSelect';
interface SelectorProps extends InnerSelectorProps {
removeIcon?: RenderNode;
maxTagCount?: number | 'responsive';
maxTagTextLength?: number;
maxTagPlaceholder?: React.ReactNode | ((omittedValues: DisplayValueType[]) => React.ReactNode);
tokenSeparators?: string[];
tagRender?: (props: CustomTagProps) => React.ReactElement;
onToggleOpen: (open?: boolean) => void;
choiceTransitionName?: string;
onRemove: (value: DisplayValueType) => void;
}
declare const SelectSelector: React.FC<SelectorProps>;
export default SelectSelector;