UNPKG

tdesign-mobile-vue

Version:
50 lines (49 loc) 1.83 kB
import { PropType } from 'vue'; declare const _default: { block: BooleanConstructor; content: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: { type: BooleanConstructor; default: any; }; ghost: BooleanConstructor; icon: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; loading: BooleanConstructor; loadingProps: { type: PropType<import("@/loading").TdLoadingProps>; }; shape: { type: PropType<"circle" | "rectangle" | "round" | "square">; default: "circle" | "rectangle" | "round" | "square"; validator(val: "circle" | "rectangle" | "round" | "square"): boolean; }; size: { type: PropType<"extra-small" | "large" | "medium" | "small">; default: "extra-small" | "large" | "medium" | "small"; validator(val: "extra-small" | "large" | "medium" | "small"): boolean; }; suffix: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; theme: { type: PropType<"danger" | "default" | "light" | "primary">; default: "danger" | "default" | "light" | "primary"; validator(val: "danger" | "default" | "light" | "primary"): boolean; }; type: { type: PropType<"button" | "reset" | "submit">; default: "button" | "reset" | "submit"; validator(val: "button" | "reset" | "submit"): boolean; }; variant: { type: PropType<"base" | "dashed" | "outline" | "text">; default: "base" | "dashed" | "outline" | "text"; validator(val: "base" | "dashed" | "outline" | "text"): boolean; }; onClick: PropType<(e: MouseEvent) => void>; }; export default _default;