UNPKG

@nuxtwind/components

Version:

Component Library for Nuxt 3 using TailwindCSS

54 lines (53 loc) 1.84 kB
import type { TextfieldProps } from '../types/props.js'; export interface RequiredTextfieldProps extends TextfieldProps { modelValue: string; } declare var __VLS_1: {}, __VLS_8: {}, __VLS_15: {}; type __VLS_Slots = {} & { 'prepend-icon'?: (props: typeof __VLS_1) => any; } & { 'append-icon'?: (props: typeof __VLS_8) => any; } & { label?: (props: typeof __VLS_15) => any; }; declare const __VLS_component: import("vue").DefineComponent<RequiredTextfieldProps, { textfield: import("vue").Ref<null, null>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (id: string) => void; "update:validation": (id: object) => void; reset: () => void; focusIn: () => void; focusOut: () => void; }, string, import("vue").PublicProps, Readonly<RequiredTextfieldProps> & Readonly<{ onReset?: (() => any) | undefined; "onUpdate:modelValue"?: ((id: string) => any) | undefined; "onUpdate:validation"?: ((id: object) => any) | undefined; onFocusIn?: (() => any) | undefined; onFocusOut?: (() => any) | undefined; }>, { filled: boolean | string; rounded: boolean | string; disabled: boolean; loading: boolean; clearable: boolean; outlined: boolean | string; shadow: boolean | string; transition: boolean | { duration?: string; ease?: string; placeholder?: { duration?: string; ease?: string; }; }; modelValue: string; prependIcon: boolean | object; appendIcon: boolean | object; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };