Skip to content

Commit 21cce97

Browse files
authored
fix(typings): Type Tab.Pane is missing (#4457) (#4473)
1 parent 67f2c92 commit 21cce97

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/modules/Tab/Tab.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react'
22

33
import { ForwardRefComponent, SemanticShorthandItem } from '../../generic'
4-
import { TabPaneProps } from './TabPane'
4+
import TabPane, { TabPaneProps } from './TabPane'
55

66
export interface TabProps extends StrictTabProps {
77
[key: string]: any
@@ -58,6 +58,8 @@ export interface StrictTabProps {
5858
renderActiveOnly?: boolean
5959
}
6060

61-
declare const Tab: ForwardRefComponent<TabProps, HTMLDivElement>
61+
declare const Tab: ForwardRefComponent<TabProps, HTMLDivElement> & {
62+
Pane: typeof TabPane
63+
}
6264

6365
export default Tab

0 commit comments

Comments
 (0)