mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-12 22:29:35 +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
18 lines
624 B
TypeScript
18 lines
624 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 type { BindingsChangeTarget } from './use-input'
|
|
export default Input as InputComponentType
|