UNPKG

@payfit/unity-components

Version:

12 lines (11 loc) 523 B
import { ForwardedRef } from 'react'; import { TabPanelsProps as AriaTabPanelsProps } from 'react-aria-components/Tabs'; export type TabPanelsProps<T extends object> = Omit<AriaTabPanelsProps<T>, 'className' | 'style'>; type TabPanelsComponent = (<T extends object>(props: TabPanelsProps<T> & { ref?: ForwardedRef<HTMLDivElement>; }) => JSX.Element) & { displayName?: string; }; /** Groups tab panels and supports static or dynamic collections. */ declare const TabPanels: TabPanelsComponent; export { TabPanels };