@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
30 lines (29 loc) • 1.19 kB
TypeScript
import { ExtractPropTypes } from 'vue';
import { ToolboxCategory } from './types';
export declare const toolboxProps: {
id: {
type: StringConstructor;
default: string;
};
dragula: {
type: ObjectConstructor;
};
toolboxItems: {
type: {
(arrayLength: number): ToolboxCategory[];
(...items: ToolboxCategory[]): ToolboxCategory[];
new (arrayLength: number): ToolboxCategory[];
new (...items: ToolboxCategory[]): ToolboxCategory[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: never[];
};
};
export type ToolboxPropsType = ExtractPropTypes<typeof toolboxProps>;