index.d.ts 735 B

123456789101112131415161718192021
  1. import Group from './Group';
  2. import InternalInput from './Input';
  3. import OTP from './OTP';
  4. import Password from './Password';
  5. import Search from './Search';
  6. import TextArea from './TextArea';
  7. export type { GroupProps } from './Group';
  8. export type { InputProps, InputRef } from './Input';
  9. export type { PasswordProps } from './Password';
  10. export type { SearchProps } from './Search';
  11. export type { TextAreaProps } from './TextArea';
  12. type CompoundedComponent = typeof InternalInput & {
  13. /** @deprecated Please use `Space.Compact` */
  14. Group: typeof Group;
  15. Search: typeof Search;
  16. TextArea: typeof TextArea;
  17. Password: typeof Password;
  18. OTP: typeof OTP;
  19. };
  20. declare const Input: CompoundedComponent;
  21. export default Input;