UNPKG

y-design-ssr

Version:

SSR component library of YUI with Vue3

118 lines (117 loc) 2.91 kB
import { PropType, VNodeChild } from 'vue'; import { Size } from '../../utils'; export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'text' | 'link'; export type ButtonShadow = 'low' | 'middle' | 'high'; declare const _default: import("vue").DefineComponent<{ tag: { type: PropType<keyof HTMLElementTagNameMap>; default: string; }; text: { type: StringConstructor; default: string; }; type: { type: PropType<ButtonType>; default: string; }; size: { type: PropType<Size>; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; shadow: { type: PropType<ButtonShadow>; default: string; }; square: { type: BooleanConstructor; default: boolean; }; semicircle: { type: BooleanConstructor; default: boolean; }; radius: { type: (StringConstructor | NumberConstructor)[]; default: string; }; supplementText: { type: StringConstructor; default: string; }; block: { type: BooleanConstructor; default: boolean; }; danger: { type: BooleanConstructor; default: boolean; }; }, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ tag: { type: PropType<keyof HTMLElementTagNameMap>; default: string; }; text: { type: StringConstructor; default: string; }; type: { type: PropType<ButtonType>; default: string; }; size: { type: PropType<Size>; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; shadow: { type: PropType<ButtonShadow>; default: string; }; square: { type: BooleanConstructor; default: boolean; }; semicircle: { type: BooleanConstructor; default: boolean; }; radius: { type: (StringConstructor | NumberConstructor)[]; default: string; }; supplementText: { type: StringConstructor; default: string; }; block: { type: BooleanConstructor; default: boolean; }; danger: { type: BooleanConstructor; default: boolean; }; }>>, { size: Size; tag: keyof HTMLElementTagNameMap; type: ButtonType; disabled: boolean; square: boolean; text: string; shadow: ButtonShadow; semicircle: boolean; radius: string | number; supplementText: string; block: boolean; danger: boolean; }>; export default _default;