UNPKG

vuetify-swatches

Version:
161 lines (160 loc) 4.82 kB
import { PropType } from 'vue'; declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ /** Model value */ modelValue: { type: StringConstructor; default: string; }; /** Swatch colors */ swatches: { type: PropType<string[] | string[][] | Record<string, string[]>>; default: () => string[][]; }; /** Swatch size */ size: { type: StringConstructor; default: string; }; /** Selected icon */ icon: { type: StringConstructor; default: string; }; /** selected icon size */ iconSize: { type: StringConstructor; default: string; }; /** * The variant prop gives you easy access to several different button styles.. * * @see {@link https://vuetifyjs.com/en/components/buttons/#variant} */ variant: { type: PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>; default: undefined; }; /** * Removes the ability to click or target the component. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled} */ disabled: { type: BooleanConstructor; default: boolean; }; /** * Applies a large border radius on the button. * * @see {@link https://vuetifyjs.com/en/components/buttons/#rounded} */ rounded: { type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; default: undefined; }; /** * Applies border styles to component. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-border} */ border: { type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; default: boolean; }; /** * Designates an elevation applied to the component between 0 and 24. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation} */ elevation: { type: (StringConstructor | NumberConstructor)[]; default: undefined; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (_value: string) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ /** Model value */ modelValue: { type: StringConstructor; default: string; }; /** Swatch colors */ swatches: { type: PropType<string[] | string[][] | Record<string, string[]>>; default: () => string[][]; }; /** Swatch size */ size: { type: StringConstructor; default: string; }; /** Selected icon */ icon: { type: StringConstructor; default: string; }; /** selected icon size */ iconSize: { type: StringConstructor; default: string; }; /** * The variant prop gives you easy access to several different button styles.. * * @see {@link https://vuetifyjs.com/en/components/buttons/#variant} */ variant: { type: PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>; default: undefined; }; /** * Removes the ability to click or target the component. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled} */ disabled: { type: BooleanConstructor; default: boolean; }; /** * Applies a large border radius on the button. * * @see {@link https://vuetifyjs.com/en/components/buttons/#rounded} */ rounded: { type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; default: undefined; }; /** * Applies border styles to component. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-border} */ border: { type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; default: boolean; }; /** * Designates an elevation applied to the component between 0 and 24. * * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation} */ elevation: { type: (StringConstructor | NumberConstructor)[]; default: undefined; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((_value: string) => any) | undefined; }>, { modelValue: string; swatches: string[] | Record<string, string[]> | string[][]; size: string; icon: string; iconSize: string; variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; disabled: boolean; rounded: string | number | boolean; border: string | number | boolean; elevation: string | number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;