import { SpectrumTabsProps } from '@react-types/tabs'; import { HTMLAttributes, ReactElement } from 'react'; import { type VariantProps } from 'tailwind-variants'; import { ResponsiveVariants } from 'src/types/responsive-variants.types.js'; import { TabsTabProps } from './components/index.js'; import { styles } from './tabs.styles.js'; type Variants = VariantProps; export type TabsProps = Omit, 'orientation'> & { /** * Children */ children: ReactElement | ReactElement[]; /** * Colors */ color?: TabsTabProps['color']; /** * Stretch the tab to fill the whole content */ justify?: boolean; /** * Look of tabs */ look?: ResponsiveVariants; /** * Orientation of tabs */ orientation?: ResponsiveVariants; /** * Sticky */ sticky?: ResponsiveVariants; /** * set the offset for the sticky tab */ stickyOffset?: { bottom?: string; left?: string; right?: string; top?: string; }; } & HTMLAttributes; export {};