mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-04 09:09:32 +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
11 lines
263 B
TypeScript
11 lines
263 B
TypeScript
import User from './user'
|
|
import UserLink from './user-link'
|
|
|
|
export type UserComponentType = typeof User & {
|
|
Link: typeof UserLink
|
|
}
|
|
;(User as UserComponentType).Link = UserLink
|
|
|
|
export type { UserProps } from './user'
|
|
export default User as UserComponentType
|