diff --git a/packages/design-system/src/components/Tabs/Primitive/TabPanel.tsx b/packages/design-system/src/components/Tabs/Primitive/TabPanel.tsx index b9e8ff73d2..fda169b4ca 100644 --- a/packages/design-system/src/components/Tabs/Primitive/TabPanel.tsx +++ b/packages/design-system/src/components/Tabs/Primitive/TabPanel.tsx @@ -1,7 +1,7 @@ import { useContext } from 'react'; import { TabsInternalContext } from './TabsProvider'; -type TabPanelPropTypes = { +export type TabPanelPropTypes = { id: string; children: React.ReactNode | React.ReactNode[]; renderIf?: boolean; diff --git a/packages/design-system/src/components/Tabs/Primitive/TabsProvider.tsx b/packages/design-system/src/components/Tabs/Primitive/TabsProvider.tsx index ff899fc2a4..868f635515 100644 --- a/packages/design-system/src/components/Tabs/Primitive/TabsProvider.tsx +++ b/packages/design-system/src/components/Tabs/Primitive/TabsProvider.tsx @@ -8,6 +8,7 @@ export type TabsProviderPropTypes = { activeKey?: string; onSelect?: (event: any, key: string) => void; size?: string; + id?: string; }; type WithChildren = { @@ -29,7 +30,7 @@ export function TabsProvider(props: TabsProviderPropTypes & WithChildren) { }, }); return ( -