mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-02 09:08:52 +08:00
* fix: move use-input to root-layer * chore: move all hooks to root-layer * test: fix test utils path for hooks
17 lines
568 B
TypeScript
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
|