import { BadgePassThrough } from 'primeng/types/badge'; import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link OverlayBadgeProps.pt} * @group Interface */ interface OverlayBadgePassThroughOptions { /** * Used to pass attributes to the host's DOM element. */ host?: PassThroughOption; /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the Badge component. * @see {@link BadgePassThrough} */ pcBadge?: BadgePassThrough; } /** * Defines valid pass-through options in OverlayBadge. * @see {@link OverlayBadgePassThroughOptions} * * @template I Type of instance. */ type OverlayBadgePassThrough = PassThrough>; export type { OverlayBadgePassThrough, OverlayBadgePassThroughOptions };