mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-26 23:04:55 +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
373 B
TypeScript
12 lines
373 B
TypeScript
import Select from './select'
|
|
import SelectOption from './select-option'
|
|
|
|
export type SelectComponentType = typeof Select & {
|
|
Option: typeof SelectOption
|
|
}
|
|
;(Select as SelectComponentType).Option = SelectOption
|
|
|
|
export type { SelectProps, SelectTypes } from './select'
|
|
export type { SelectOptionProps } from './select-option'
|
|
export default Select as SelectComponentType
|