UNPKG

acud

Version:

acg react 组件库

21 lines (20 loc) • 723 B
/// <reference types="react" /> import { BaseInputProps } from './Input'; import Label from './Label'; import TextArea from './TextArea'; import Password from './Password'; import MultiSelectInput from './MultiSelectInput'; import AutoComplete from './AutoComplete'; export interface InputLocale { placeholder?: string; } interface CompoundedComponent extends React.ForwardRefExoticComponent<BaseInputProps & React.RefAttributes<HTMLInputElement>> { Label: typeof Label; TextArea: typeof TextArea; Password: typeof Password; MultiSelectInput: typeof MultiSelectInput; AutoComplete: typeof AutoComplete; __ACUD_CHECKBOX: boolean; } declare const Input: CompoundedComponent; export default Input;