UNPKG

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,

44 lines (41 loc) 1.22 kB
import { PassThrough, PassThroughOption } from 'primeng/api'; /** * Defines the layout orientation of the divider. * @group Types */ type DividerLayout = 'horizontal' | 'vertical'; /** * Defines the border style type of the divider. * @group Types */ type DividerType = 'solid' | 'dashed' | 'dotted'; /** * Defines the alignment of the divider content. * @group Types */ type DividerAlign = 'left' | 'center' | 'right' | 'top' | 'bottom'; /** * 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 { DividerAlign, DividerLayout, DividerPassThrough, DividerPassThroughOptions, DividerType };