UNPKG

zent

Version:

一套前端设计语言和基于React的实现

11 lines (10 loc) 664 B
/// <reference types="react" /> import type { ISelectItem, ISelectCommonProps } from './Select'; export interface ISelectTagListProps<Key extends string | number = string | number, Item extends ISelectItem<Key> = ISelectItem<Key>> { list: Item[]; onRemove(item: Item): void; renderValue?: ISelectCommonProps<Key, Item>['renderValue']; } declare function SelectTagList<Key extends string | number = string | number, Item extends ISelectItem<Key> = ISelectItem<Key>>({ list, onRemove, renderValue }: ISelectTagListProps<Key, Item>): JSX.Element; declare const _default: import("react").MemoExoticComponent<typeof SelectTagList>; export default _default;