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
29 lines (26 loc) • 787 B
TypeScript
import { PassThroughOption, PassThrough } from 'primeng/api';
/**
* Custom pass-through(pt) options.
* @template I Type of instance.
*
* @see {@link Divider.pt}
* @group Interface
*/
interface DividerPassThroughOptions<I = unknown> {
/**
* Used to pass attributes to the root's DOM element.
*/
root?: PassThroughOption<HTMLElement, I>;
/**
* Used to pass attributes to the content's DOM element.
*/
content?: PassThroughOption<HTMLDivElement, I>;
}
/**
* Defines valid pass-through options in Divider component.
* @see {@link DividerPassThroughOptions}
*
* @template I Type of instance.
*/
type DividerPassThrough<I = unknown> = PassThrough<I, DividerPassThroughOptions<I>>;
export type { DividerPassThrough, DividerPassThroughOptions };