@inkline/inkline
Version:
Inkline is the Vue.js UI/UX Library built for creating your next design system
128 lines (127 loc) • 3.35 kB
TypeScript
import { sizePropValidator } from '../../mixins';
declare const _default: import("vue").DefineComponent<{
/**
* The color variant of the textarea
* @type light | dark
* @default light
* @name color
*/
color: {
type: StringConstructor;
default: () => string;
};
/**
* Display the textarea as clearable
* @type Boolean
* @default false
* @name clearable
*/
clearable: {
type: BooleanConstructor;
default: boolean;
};
/**
* The disabled state of the textarea
* @type Boolean
* @default false
* @name disabled
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* The id of the internal textarea element
* @type String
* @default
* @name id
*/
id: {
type: StringConstructor;
default: string;
};
/**
* Used to set the field value
* @type Boolean
* @default false
* @name modelValue
*/
modelValue: {
type: StringConstructor;
default: string;
};
/**
* The unique identifier of the textarea
* @type String
* @default uid()
* @name name
*/
name: {
type: (StringConstructor | NumberConstructor)[];
default(): string;
};
/**
* The readonly state of the textarea
* @type Boolean
* @default false
* @name readonly
*/
readonly: {
type: BooleanConstructor;
default: boolean;
};
/**
* The size variant of the textarea
* @type sm | md | lg
* @default md
* @name size
*/
size: {
type: StringConstructor;
default: () => string;
validator: typeof sizePropValidator;
};
/**
* The tabindex of the textarea
* @type Number | String
* @default 0
* @name tabindex
*/
tabindex: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Record<string, unknown>>, {}>, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
color?: unknown;
clearable?: unknown;
disabled?: unknown;
id?: unknown;
modelValue?: unknown;
name?: unknown;
readonly?: unknown;
size?: unknown;
tabindex?: unknown;
} & {
name: string | number;
color: string;
size: string;
modelValue: string;
disabled: boolean;
id: string;
tabindex: string | number;
readonly: boolean;
clearable: boolean;
} & {}> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
name: string | number;
color: string;
size: string;
modelValue: string;
disabled: boolean;
id: string;
tabindex: string | number;
readonly: boolean;
clearable: boolean;
}>;
export default _default;