Files
react/components/user/index.ts
witt de0c8fee97 feat: export all types related to components (#562)
* 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
2021-08-13 17:10:59 +08:00

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