primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
25 lines (22 loc) • 677 B
TypeScript
import { PassThroughOption, PassThrough } from 'primeng/api';
/**
* Custom pass-through(pt) options.
* @template I Type of instance.
*
* @see {@link InputTextPassThrough}
* @group Interface
*/
interface InputTextPassThroughOptions<I = unknown> {
/**
* Used to pass attributes to the root's DOM element.
*/
root?: PassThroughOption<HTMLInputElement, I>;
}
/**
* Defines valid pass-through options in InputText.
* @see {@link InputTextPassThroughOptions}
*
* @template I Type of instance.
*/
type InputTextPassThrough<I = unknown> = PassThrough<I, InputTextPassThroughOptions<I>>;
export type { InputTextPassThrough, InputTextPassThroughOptions };