UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

71 lines (70 loc) 2.4 kB
import type { QTextareaPropResize, QTextareaPropAutosize, QTextareaInstance } from './src/types'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { SFCWithInstall } from '../../../types/helpers'; export declare const QTextarea: SFCWithInstall<DefineComponent<{ modelValue: { type: StringConstructor; default: null; }; resize: { type: PropType<QTextareaPropResize>; default: string; validator: (value: QTextareaPropResize) => boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; showSymbolLimit: { type: BooleanConstructor; default: boolean; }; autosize: { type: PropType<QTextareaPropAutosize>; default: boolean; }; validateEvent: { type: BooleanConstructor; default: boolean; }; }, QTextareaInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change" | "focus" | "blur" | "input")[], "update:modelValue" | "change" | "focus" | "blur" | "input", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ modelValue: { type: StringConstructor; default: null; }; resize: { type: PropType<QTextareaPropResize>; default: string; validator: (value: QTextareaPropResize) => boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; showSymbolLimit: { type: BooleanConstructor; default: boolean; }; autosize: { type: PropType<QTextareaPropAutosize>; default: boolean; }; validateEvent: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; onFocus?: ((...args: any[]) => any) | undefined; onBlur?: ((...args: any[]) => any) | undefined; onInput?: ((...args: any[]) => any) | undefined; }, { disabled: boolean; modelValue: string; validateEvent: boolean; showSymbolLimit: boolean; resize: QTextareaPropResize; autosize: QTextareaPropAutosize; }>>; export type { QTextareaProps, QTextareaInstance } from './src/types';