You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
741 B
19 lines
741 B
import React from 'react';
|
|
import { LabelValueType, RawValueType, CustomTagProps } from '../interface/generator';
|
|
import { RenderNode } from '../interface';
|
|
import { InnerSelectorProps } from '.';
|
|
interface SelectorProps extends InnerSelectorProps {
|
|
removeIcon?: RenderNode;
|
|
maxTagCount?: number;
|
|
maxTagTextLength?: number;
|
|
maxTagPlaceholder?: React.ReactNode | ((omittedValues: LabelValueType[]) => React.ReactNode);
|
|
tokenSeparators?: string[];
|
|
tagRender?: (props: CustomTagProps) => React.ReactElement;
|
|
choiceTransitionName?: string;
|
|
onSelect: (value: RawValueType, option: {
|
|
selected: boolean;
|
|
}) => void;
|
|
}
|
|
declare const SelectSelector: React.FC<SelectorProps>;
|
|
export default SelectSelector;
|