This commit is contained in:
2022-11-14 11:59:26 +08:00
parent 0a63adba99
commit 492d0963fe
336 changed files with 70636 additions and 7 deletions

4
types/component/button/index.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

7
types/component/button/interface.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export declare type ButtonType = "primary" | "normal" | "warm" | "danger";
export declare type ButtonSize = "lg" | "md" | "sm" | "xs";
export declare type ButtonBorder = "green" | "blue" | "orange" | "red" | "black";
export declare type ButtonNativeType = "button" | "submit" | "reset";
export declare const ButtonEmits: {
click: (evt: MouseEvent) => boolean;
};