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