UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

40 lines (33 loc) 923 B
import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export interface InputTextProps extends InputHTMLAttributes { /** * Value of the component. */ modelValue?: string | undefined; } export interface InputTextSlots { } export declare type InputTextEmits = { /** * Emitted when the value changes. * @param {string} value - New value. */ 'update:modelValue': (value: string | undefined) => void; } declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> { } declare module '@vue/runtime-core' { interface GlobalComponents { InputText: GlobalComponentConstructor<InputText> } } /** * * InputText renders a text field to enter data. * * Demos: * * - [InputText](https://www.primefaces.org/primevue/showcase/#/inputtext) * */ export default InputText;