storybook-addon-customize-antd-theme
Version:
a Storybook addon help you visually customize an ant design theme
36 lines (35 loc) • 843 B
TypeScript
import { ArgTypes } from '../../interface';
export declare class LessArgGenerator {
vars: {
[key: string]: any;
};
hints: ArgTypes;
args: {
[key: string]: any;
};
constructor(vars: {});
copyToHints(): void;
analyseVars(): void;
sortCategory(): void;
createArg(name: string, controlType: string, defaultValue: any, description?: string, category?: string): {
name: string;
type: {
name: string;
required: boolean;
};
defaultValue: any;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: any;
};
subcategory: string;
};
control: {
type: string;
};
};
}