index.tsx 1.0 KB
import RadioGroup from './radio_group';
import CheckboxGroup from './checkbox_input';
import CascaderInput from './cascader_input';
import TextAreaInput from './text_area_input';
import SelectInput from './select';
import NumberInput from './number_input';
import TextInput from './text_input';
import DateInput from './date_input';
import RangeDate from './range_date';
import SearchInput from './search_input';
import SelectMap from './map_select';
import RadioButton from './radio_button';
import UploadWrap from './uploader/UploadWrap';

const InputItem = () => <div></div>;

InputItem.search = SearchInput;
InputItem.rangeDate = RangeDate;
InputItem.date = DateInput;
InputItem.select = SelectInput;
InputItem.selectMap = SelectMap;
InputItem.number = NumberInput;
InputItem.text = TextInput;
InputItem.textArea = TextAreaInput;
InputItem.cascader = CascaderInput;
InputItem.checkbox = CheckboxGroup;
InputItem.radio = RadioGroup;
InputItem.radioBtn = RadioButton;
InputItem.uploader = UploadWrap;

export default InputItem;