Skip to content

Commit a8c2f2d

Browse files
dmytrokirpaclaude
andauthored
fix(react-tabs): export TabBaseProps and TabBaseState types (#35989)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5a2ed7e commit a8c2f2d

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: export base hook types",
4+
"packageName": "@fluentui/react-tabs",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

packages/react-components/react-tabs/library/etc/react-tabs.api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ export type SelectTabEventHandler = (event: SelectTabEvent, data: SelectTabData)
4040
// @public
4141
export const Tab: ForwardRefComponent<TabProps>;
4242

43+
// @public (undocumented)
44+
export type TabBaseProps = Omit<TabProps, 'contentReservedSpace'>;
45+
46+
// @public (undocumented)
47+
export type TabBaseState = Omit<TabState, 'appearance' | 'size' | 'contentReservedSpace'>;
48+
4349
// @public (undocumented)
4450
export const tabClassNames: SlotClassNames<TabSlots>;
4551

packages/react-components/react-tabs/library/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type { TabProps, TabSlots, TabState, TabValue } from './Tab';
1+
export type { TabProps, TabSlots, TabState, TabValue, TabBaseProps, TabBaseState } from './Tab';
22
export {
33
renderTab_unstable,
44
Tab,

0 commit comments

Comments
 (0)