Files
react/components/input/index.ts
witt 563fb67c72 fix: migrate the hooks file path in esm (#603)
* fix: move use-input to root-layer

* chore: move all hooks to root-layer

* test: fix test utils path for hooks
2021-08-13 18:00:52 +08:00

17 lines
568 B
TypeScript

import Input from './input'
import Textarea from '../textarea'
import InputPassword from './password'
export type InputComponentType = typeof Input & {
Textarea: typeof Textarea
Password: typeof InputPassword
}
;(Input as InputComponentType).Textarea = Textarea
;(Input as InputComponentType).Password = InputPassword
export type { InputProps } from './input'
export type { InputTypes } from './input-props'
export type { InputPasswordProps } from './password'
export type { TextareaProps } from '../textarea/textarea'
export default Input as InputComponentType