@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
39 lines (38 loc) • 1.49 kB
TypeScript
import { TextareaHTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, AllowedComponentProps, ComponentCustomProps, VNodeProps } from 'vue';
import { PolymorphicProps } from '../factory';
export interface FieldTextareaBaseProps extends PolymorphicProps {
/**
* Whether the textarea should autoresize
* @default false
*/
autoresize?: boolean;
}
export interface FieldTextareaProps extends FieldTextareaBaseProps,
/**
* @vue-ignore
*/
Omit<TextareaHTMLAttributes, 'value'> {
modelValue?: TextareaHTMLAttributes['value'];
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<FieldTextareaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, PublicProps, Readonly<FieldTextareaProps> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
textareaRef: {
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & {
[x: string]: unknown;
readonly [x: number]: string;
} & {
[Symbol.iterator]?: StringIterator<string> | undefined;
} & TextareaHTMLAttributes & Record<never, never> & PolymorphicProps;
} | null;
}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};