kodama-ui
Version:
Kodama UI is a Vue 3 component library that provides a set of components & funcionality to build your application.
20 lines (19 loc) • 694 B
TypeScript
export declare function getReturnType(val: any): "object" | "???" | "string" | "number" | "bool" | "array";
export declare function getControlType(props: any): string;
type Control = {
type: string;
options?: string[];
disable?: boolean;
presetColors?: string[];
};
export declare function parseControl(props: any, disabled?: boolean): Control;
export declare function renderArgs(component: any, argTypes?: Record<string, any>, disabled?: boolean): Record<string, any>;
export declare function renderParameters({ showPanel }?: {
showPanel: boolean;
}): {
options: {
showPanel: boolean;
};
};
export declare function renderArgsV2(props: any): any;
export {};