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 { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the content's DOM element. */ content?: PassThroughOption; } /** * Defines valid pass-through options in Divider component. * @see {@link DividerPassThroughOptions} * * @template I Type of instance. */ type DividerPassThrough = PassThrough>; export type { DividerAlign, DividerLayout, DividerPassThrough, DividerPassThroughOptions, DividerType };