Files
react/components/select/index.ts
witt 69fb358140 feat(select): imporve the focus events to export simulated ref (#579)
* 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
2021-08-13 17:11:39 +08:00

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