UNPKG

@aplus-frontend/ui

Version:

12 lines (11 loc) 292 B
export interface ApSelectItem { name: string; value: string; } export interface ApSelectLayoutProps<T extends ApSelectItem> { title: string; request: () => Promise<T[]>; onSearch?: (item: T, val: string) => boolean; defaultFold?: boolean; defaultValue?: string; }