mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-27 19:25:05 +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
12 lines
378 B
TypeScript
12 lines
378 B
TypeScript
import Badge from './badge'
|
|
import BadgeAnchor from './badge-anchor'
|
|
|
|
export type BadgeComponentType = typeof Badge & {
|
|
Anchor: typeof BadgeAnchor
|
|
}
|
|
;(Badge as BadgeComponentType).Anchor = BadgeAnchor
|
|
|
|
export type { BadgeProps, BadgeTypes } from './badge'
|
|
export type { BadgeAnchorProps, BadgeAnchorPlacement } from './badge-anchor'
|
|
export default Badge as BadgeComponentType
|