diff --git a/change/@fluentui-react-tabs-3504d094-24c6-4586-b3f3-56ffc4509a08.json b/change/@fluentui-react-tabs-3504d094-24c6-4586-b3f3-56ffc4509a08.json new file mode 100644 index 0000000000000..2bf568673c9d8 --- /dev/null +++ b/change/@fluentui-react-tabs-3504d094-24c6-4586-b3f3-56ffc4509a08.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: export base hook types", + "packageName": "@fluentui/react-tabs", + "email": "dmytrokirpa@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-tabs/library/etc/react-tabs.api.md b/packages/react-components/react-tabs/library/etc/react-tabs.api.md index 7cec0cad86090..16a4e4b9d5836 100644 --- a/packages/react-components/react-tabs/library/etc/react-tabs.api.md +++ b/packages/react-components/react-tabs/library/etc/react-tabs.api.md @@ -40,6 +40,12 @@ export type SelectTabEventHandler = (event: SelectTabEvent, data: SelectTabData) // @public export const Tab: ForwardRefComponent; +// @public (undocumented) +export type TabBaseProps = Omit; + +// @public (undocumented) +export type TabBaseState = Omit; + // @public (undocumented) export const tabClassNames: SlotClassNames; diff --git a/packages/react-components/react-tabs/library/src/index.ts b/packages/react-components/react-tabs/library/src/index.ts index d4491beb81e15..3eba8787ef956 100644 --- a/packages/react-components/react-tabs/library/src/index.ts +++ b/packages/react-components/react-tabs/library/src/index.ts @@ -1,4 +1,4 @@ -export type { TabProps, TabSlots, TabState, TabValue } from './Tab'; +export type { TabProps, TabSlots, TabState, TabValue, TabBaseProps, TabBaseState } from './Tab'; export { renderTab_unstable, Tab,