mirror of
https://github.com/zhigang1992/react.git
synced 2026-05-20 04:11:29 +08:00
* feat: export all types related to components fix(tooltip): fix the vertical offset of the arrow * refactor: optimize events of all popup related components * test: append testcases for popup base component * test: add testcase for visible events * test: update snapshots
13 lines
330 B
TypeScript
13 lines
330 B
TypeScript
import Tabs from './tabs'
|
|
import TabsItem from './tabs-item'
|
|
|
|
export type TabsComponentType = typeof Tabs & {
|
|
Item: typeof TabsItem
|
|
Tab: typeof TabsItem
|
|
}
|
|
;(Tabs as TabsComponentType).Item = TabsItem
|
|
;(Tabs as TabsComponentType).Tab = TabsItem
|
|
|
|
export type { TabsProps } from './tabs'
|
|
export default Tabs as TabsComponentType
|