mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-26 13:25:46 +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
17 lines
444 B
TypeScript
17 lines
444 B
TypeScript
import Checkbox from './checkbox'
|
|
import CheckboxGroup from './checkbox-group'
|
|
|
|
export type CheckboxComponentType = typeof Checkbox & {
|
|
Group: typeof CheckboxGroup
|
|
}
|
|
;(Checkbox as CheckboxComponentType).Group = CheckboxGroup
|
|
|
|
export type {
|
|
CheckboxProps,
|
|
CheckboxEvent,
|
|
CheckboxEventTarget,
|
|
CheckboxTypes,
|
|
} from './checkbox'
|
|
export type { CheckboxGroupProps } from './checkbox-group'
|
|
export default Checkbox as CheckboxComponentType
|