@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
28 lines (27 loc) • 1.02 kB
TypeScript
import type { InputNumberProps as AntdInputNumberProps, InputProps as AntdInputProps, InputRef } from 'antd';
import type { OTPProps as AntdOPTProps, OTPRef } from 'antd/es/input/OTP';
import type { PasswordProps as AntdPasswordProps } from 'antd/es/input/Password';
import type { TextAreaProps as AntdTextAreaProps, TextAreaRef } from 'antd/es/input/TextArea';
import type { InputNumberRef } from 'rc-input-number';
import type { Ref } from 'react';
export interface InputProps extends AntdInputProps {
ref?: Ref<InputRef>;
shadow?: boolean;
}
export interface TextAreaProps extends AntdTextAreaProps {
ref?: Ref<TextAreaRef>;
resize?: boolean;
shadow?: boolean;
}
export interface InputNumberProps extends AntdInputNumberProps {
ref?: Ref<InputNumberRef>;
shadow?: boolean;
}
export interface InputPasswordProps extends AntdPasswordProps {
ref?: Ref<InputRef>;
shadow?: boolean;
}
export interface InputOPTProps extends AntdOPTProps {
ref?: Ref<OTPRef>;
shadow?: boolean;
}