UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) 436 B
import { ForwardedRef } from 'react'; import { TabListProps as AriaTabListProps } from 'react-aria-components/Tabs'; export type TabListProps<T extends object> = Omit<AriaTabListProps<T>, 'className' | 'style'>; type TabListComponent = (<T extends object>(props: TabListProps<T> & { ref?: ForwardedRef<HTMLDivElement>; }) => JSX.Element) & { displayName?: string; }; declare const TabList: TabListComponent; export { TabList };