import { default as React, HTMLAttributes } from 'react'; import { FilterTabsThemeType } from './FilterTabs.themes'; import { Button, TabProps } from './components/Tab'; import { ItemRootProps } from './components/ItemRoot'; import { ItemRootResetProps } from './components/ItemRootReset/ItemRootReset.props'; export type FilterTabsOrientation = 'horizontal' | 'vertical'; type FilterTabsBaseProps = Omit, 'onChange' | 'disabled'>; export type FilterTabsChangeEvent = (updatedValues: T[], trigger?: T) => void; export type FilterTabsContextProps = { /** * The current selected values. */ values: string[]; /** * Flag determining if multi-selection is allowed. */ isMultiSelect?: boolean; /** * `Disabled` attribute for `FilterTabs`. * * Automatically applied to all Tabs. */ isDisabled?: boolean; /** * Handler for the selected value. * * Automatically applies to all Tabs. */ onChange: (name?: string) => void; /** * Registers the selected value during initialization. */ registerActiveName: (name: string) => void; }; export type FilterTabsProps = FilterTabsBaseProps & Omit & { /** * Clicking tab event handler. * Receives the element's value as an argument. */ onChange: FilterTabsChangeEvent; /** * Object with CSS theme properties. */ theme: FilterTabsThemeType; /** * Defines the orientation of FilterTabs: vertical or horizontal. */ orientation?: FilterTabsOrientation; }; export type FilterTabsType = React.ForwardRefExoticComponent> & { /** * Tab component. */ Tab: React.ForwardRefExoticComponent; /** * ItemRoot component. */ ItemRoot: React.FC; /** * ItemRootReset component. */ ItemRootReset: React.FC; /** * TabReset component. */ TabReset: React.ForwardRefExoticComponent; }; export {}; //# sourceMappingURL=FilterTabs.props.d.ts.map