mirror of
https://github.com/zhigang1992/react.git
synced 2026-01-25 22:26:32 +08:00
* feat(select): imporve the focus events to export simulated ref * test: improve testcase and fix warnings * docs(select): add label and divider to props docs
12 lines
384 B
TypeScript
12 lines
384 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, SelectRef } from './select'
|
|
export type { SelectOptionProps } from './select-option'
|
|
export default Select as SelectComponentType
|