feat: 首次提交

This commit is contained in:
2023-06-21 12:04:22 +08:00
commit e2d9a227c0
44 changed files with 11977 additions and 0 deletions

56
packages/button/index.vue.d.ts vendored Normal file
View File

@ -0,0 +1,56 @@
import './button.css';
declare const _default: import("vue").DefineComponent<{
label: {
type: StringConstructor;
required: true;
};
primary: {
type: BooleanConstructor;
required: false;
default: boolean;
};
size: {
type: StringConstructor;
required: false;
};
backgroundColor: {
type: StringConstructor;
required: false;
};
}, {
props: any;
emit: (event: "click", ...args: any[]) => void;
classes: import("vue").ComputedRef<{
[x: string]: any;
'storybook-button': boolean;
'storybook-button--primary': any;
'storybook-button--secondary': boolean;
}>;
style: import("vue").ComputedRef<{
backgroundColor: any;
}>;
onClick: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
label: {
type: StringConstructor;
required: true;
};
primary: {
type: BooleanConstructor;
required: false;
default: boolean;
};
size: {
type: StringConstructor;
required: false;
};
backgroundColor: {
type: StringConstructor;
required: false;
};
}>> & {
onClick?: ((...args: any[]) => any) | undefined;
}, {
primary: boolean;
}, {}>;
export default _default;