UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

107 lines (106 loc) 3.58 kB
import type { QButtonPropType, QButtonPropTheme, QButtonPropSize, QButtonPropIcon, QButtonPropNativeType, QButtonPropLoading, QButtonPropDisabled, QButtonPropAutofocus, QButtonPropCircle, QButtonPropFullWidth, QButtonInstance } from './src/types'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { SFCWithInstall } from '../../../types/helpers'; export declare const QButton: SFCWithInstall<DefineComponent<{ type: { type: PropType<QButtonPropType>; default: string; validator: (value: QButtonPropType) => boolean; }; theme: { type: PropType<QButtonPropTheme>; default: string; validator: (value: QButtonPropTheme) => boolean; }; size: { type: PropType<QButtonPropSize>; default: string; validator: (value: QButtonPropSize) => boolean; }; icon: { type: PropType<QButtonPropIcon>; default: null; }; nativeType: { type: PropType<QButtonPropNativeType>; default: string; validator: (value: QButtonPropNativeType) => boolean; }; loading: { type: PropType<QButtonPropLoading>; default: boolean; }; disabled: { type: PropType<QButtonPropDisabled>; default: boolean; }; autofocus: { type: PropType<QButtonPropAutofocus>; default: boolean; }; circle: { type: PropType<QButtonPropCircle>; default: boolean; }; fullWidth: { type: PropType<QButtonPropFullWidth>; default: boolean; }; }, QButtonInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ type: { type: PropType<QButtonPropType>; default: string; validator: (value: QButtonPropType) => boolean; }; theme: { type: PropType<QButtonPropTheme>; default: string; validator: (value: QButtonPropTheme) => boolean; }; size: { type: PropType<QButtonPropSize>; default: string; validator: (value: QButtonPropSize) => boolean; }; icon: { type: PropType<QButtonPropIcon>; default: null; }; nativeType: { type: PropType<QButtonPropNativeType>; default: string; validator: (value: QButtonPropNativeType) => boolean; }; loading: { type: PropType<QButtonPropLoading>; default: boolean; }; disabled: { type: PropType<QButtonPropDisabled>; default: boolean; }; autofocus: { type: PropType<QButtonPropAutofocus>; default: boolean; }; circle: { type: PropType<QButtonPropCircle>; default: boolean; }; fullWidth: { type: PropType<QButtonPropFullWidth>; default: boolean; }; }>>, { type: QButtonPropType; loading: QButtonPropLoading; icon: QButtonPropIcon; theme: QButtonPropTheme; size: QButtonPropSize; nativeType: QButtonPropNativeType; disabled: QButtonPropDisabled; autofocus: QButtonPropAutofocus; circle: QButtonPropCircle; fullWidth: QButtonPropFullWidth; }>>; export type { QButtonProps, QButtonPropType, QButtonPropTheme, QButtonPropSize, QButtonPropIcon, QButtonPropNativeType, QButtonPropLoading, QButtonPropDisabled, QButtonPropAutofocus, QButtonPropCircle, QButtonPropFullWidth } from './src/types';