import { MotionOptions } from '@primeuix/motion'; import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Defines valid pass-through options in Accordion component. * @template I Type of instance. * * @group Interface */ interface AccordionPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass options to the motion component/directive. */ motion?: MotionOptions; } /** * Defines valid pass-through options in Accordion component. * @see {@link AccordionPassThroughOptions} * * @template I Type of instance. */ type AccordionPassThrough = PassThrough>; /** * Defines valid pass-through options in AccordionPanel component. * @template I Type of instance. * * @group Interface */ interface AccordionPanelPassThroughOptions { /** * Used to pass attributes to the panel's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in AccordionPanel component. * @see {@link AccordionPanelPassThroughOptions} * * @template I Type of instance. */ type AccordionPanelPassThrough = PassThrough>; /** * Defines valid pass-through options in AccordionHeader component. * @template I Type of instance. * * @group Interface */ interface AccordionHeaderPassThroughOptions { /** * Used to pass attributes to the header's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the toggle icon's DOM element. */ toggleicon?: PassThroughOption; } /** * Defines valid pass-through options in AccordionHeader component. * @see {@link AccordionHeaderPassThroughOptions} * * @template I Type of instance. */ type AccordionHeaderPassThrough = PassThrough>; /** * Defines valid pass-through options in AccordionContent component. * @template I Type of instance. * * @group Interface */ interface AccordionContentPassThroughOptions { /** * Used to pass attributes to the content container's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the content wrapper DOM element. */ contentWrapper?: PassThroughOption; /** * Used to pass attributes to the content's DOM element. */ content?: PassThroughOption; } /** * Defines valid pass-through options in AccordionContent component. * @see {@link AccordionContentPassThroughOptions} * * @template I Type of instance. */ type AccordionContentPassThrough = PassThrough>; export type { AccordionContentPassThrough, AccordionContentPassThroughOptions, AccordionHeaderPassThrough, AccordionHeaderPassThroughOptions, AccordionPanelPassThrough, AccordionPanelPassThroughOptions, AccordionPassThrough, AccordionPassThroughOptions };