UNPKG

@accelint/design-toolkit

Version:

An open-source component library to serve as part of the entire ecosystem of UX for Accelint.

21 lines (18 loc) 669 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { ContextValue } from 'react-aria-components'; import { ProviderProps } from '../../lib/types.js'; import { TabsProps } from './types.js'; /** * Context for Tabs component * * Provides context for Tabs component to share props */ declare const TabsContext: react.Context<ContextValue<TabsProps, HTMLDivElement>>; /** * Provider for Tabs component * * Allows setting default props for all Tabs components within */ declare function TabsProvider({ children, ...props }: ProviderProps<TabsProps>): react_jsx_runtime.JSX.Element; export { TabsContext, TabsProvider };