import { PassThrough, PassThroughOption } from "primeng/api"; /** * Defines the scrolling behavior when the active tab changes. * @group Types */ export type TabsScrollStrategy = 'nearest' | 'center' | false; /** * Defines valid pass-through options in Tabs component. * @template I Type of instance. * * @group Interface */ export interface TabsPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in Tabs component. * @see {@link TabsPassThroughOptions} * * @template I Type of instance. */ export type TabsPassThrough = PassThrough>; /** * Defines valid pass-through options in TabList component. * @template I Type of instance. * * @group Interface */ export interface TabListPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the previous button's DOM element. */ prevButton?: PassThroughOption; /** * Used to pass attributes to the content's DOM element. */ content?: PassThroughOption; /** * Used to pass attributes to the active bar's DOM element. */ activeBar?: PassThroughOption; /** * Used to pass attributes to the next button's DOM element. */ nextButton?: PassThroughOption; } /** * Defines valid pass-through options in TabList component. * @see {@link TabListPassThroughOptions} * * @template I Type of instance. */ export type TabListPassThrough = PassThrough>; /** * Defines valid pass-through options in Tab component. * @template I Type of instance. * * @group Interface */ export interface TabPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in Tab component. * @see {@link TabPassThroughOptions} * * @template I Type of instance. */ export type TabPassThrough = PassThrough>; /** * Defines valid pass-through options in TabPanel component. * @template I Type of instance. * * @group Interface */ export interface TabPanelPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in TabPanel component. * @see {@link TabPanelPassThroughOptions} * * @template I Type of instance. */ export type TabPanelPassThrough = PassThrough>; /** * Defines valid pass-through options in TabPanels component. * @template I Type of instance. * * @group Interface */ export interface TabPanelsPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; } /** * Defines valid pass-through options in TabPanels component. * @see {@link TabPanelsPassThroughOptions} * * @template I Type of instance. */ export type TabPanelsPassThrough = PassThrough>;