double-ui-vue
Version:
22 lines (21 loc) • 569 B
TypeScript
import { Instance } from '../../../utils/CreateInstance';
import { Item } from '../types';
export interface Props {
parentState: object;
width: string | number;
maxCount: string | number;
position?: boolean;
alignRight: boolean;
multiple: boolean;
selectedId: string | string[] | unknown;
data: Item[];
change(item: Item): void;
cancel(): void;
}
declare type TOptions = {
tag: HTMLElement;
props: Props;
};
declare const DropBox: ({ tag, props }: TOptions) => Instance;
export type { Instance };
export default DropBox;