UNPKG

@skillbill/vuelace-3

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/@skillbill%2Fvuelace-3.svg)](https://badge.fury.io/js/@skillbill%2Fvuelace-3)

70 lines (68 loc) 2.02 kB
import { VLButtonProps } from './types'; declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VLButtonProps>, { variant: string; size: string; caret: boolean; disabled: boolean; loading: boolean; outline: boolean; pill: boolean; circle: boolean; type: string; name: string; href: string; target: undefined; }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VLButtonProps>, { variant: string; size: string; caret: boolean; disabled: boolean; loading: boolean; outline: boolean; pill: boolean; circle: boolean; type: string; name: string; href: string; target: undefined; }>>>, { name: string; circle: boolean; type: "button" | "reset" | "submit"; size: string; pill: boolean; disabled: boolean; target: "_blank" | "_parent" | "_self" | "_top"; caret: boolean; variant: "default" | "text" | "primary" | "success" | "neutral" | "warning" | "danger"; loading: boolean; outline: boolean; href: string; }, {}>, { prefix?(_: {}): any; default?(_: {}): any; suffix?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };