import type * as React from 'react'; import Group from './Group'; import type { InputProps, InputRef } from './Input'; import InternalInput from './Input'; import Otp from "./Otp"; import Password from './Password'; import Search from './Search'; import TextArea from './TextArea'; import './style/index.less'; export { GroupProps } from './Group'; export { InputProps, InputRef } from './Input'; export { OtpProps } from './Otp'; export { PasswordProps } from './Password'; export { SearchProps } from './Search'; export { TextAreaProps } from './TextArea'; interface CompoundedComponent extends React.ForwardRefExoticComponent> { Group: typeof Group; Search: typeof Search; TextArea: typeof TextArea; Otp: typeof Otp; Password: typeof Password; } const Input = InternalInput as CompoundedComponent; Input.Group = Group; Input.Search = Search; Input.TextArea = TextArea; Input.Otp = Otp; Input.Password = Password; export default Input;