UNPKG

@utahdts/utah-design-system

Version:
15 lines (12 loc) 453 B
import { createContext } from 'react'; /** @typedef {import('@utahdts/utah-design-system').TabGroupContextValue} TabGroupContextValue */ export const TabGroupContext = /** @type {typeof createContext<TabGroupContextValue>} */ (createContext)({ isVertical: false, navigateNext: () => { }, navigatePrevious: () => { }, registerTab: () => { }, selectedTabId: '', setSelectedTabId: () => { }, tabGroupId: '', unRegisterTab: () => { }, });