UNPKG

@vue-material/core

Version:

Yet another 'Material Design Components' library for Vue3.

31 lines (29 loc) 1.4 kB
import { ButtonHTMLAttributes, Component } from 'vue'; import { BoxProps } from '../Box/util'; interface ButtonProps extends BoxProps, ButtonHTMLAttributes { leftIcon?: string | Component; rightIcon?: string | Component; variant?: 'filled' | 'elevated' | 'tonal' | 'outlined' | 'text'; label?: string | Component; scale?: number; } declare function __VLS_template(): { default?(_: {}): any; }; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; 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_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };