UNPKG

double-ui-vue

Version:
27 lines (26 loc) 714 B
import { Instance } from '../../../utils/CreateInstance'; import { Item } from './DOption'; interface Props { parentState: object; position?: boolean; openSearch?: boolean; alignRight?: boolean; arrow?: boolean; data: Item[]; value?: string | number; minWidth?: string | number; maxWidth?: string | number; translateX?: string | number; maxCount?: string | number; theme?: string; trigger?: string; placeholder?: string; optionClick(id: string, name: string): void; } interface Options { tag: HTMLElement; props: Props; } declare const DropOption: ({ tag, props }: Options) => Instance; export default DropOption; export type { Instance, Item };