# 表单组合 - order: 5 集中营,展示和表单相关的其他 ant-design 组件。 --- ````jsx import { Form, Select, InputNumber, DatePicker, TimePicker, Switch, Radio, Slider, Button, Col, Upload, Icon } from 'antd'; const FormItem = Form.Item; const Option = Select.Option; const RadioButton = Radio.Button; const RadioGroup = Radio.Group; let Demo = React.createClass({ handleSubmit(e) { e.preventDefault(); console.log('收到表单值:', this.props.form.getFieldsValue()); }, normFile(e) { if (Array.isArray(e)) { return e; } return e && e.fileList; }, render() { const { getFieldProps } = this.props.form; return (
台机器

唧唧复唧唧木兰当户织呀

链接文字

-

选项一 选项二 选项三
); } }); Demo = Form.create()(Demo); ReactDOM.render(, mountNode); ````