| 123456789101112131415161718192021222324 |
- import React from 'react';
- import { Form, Input } from 'antd';
- const FormItem = Form.Item;
- class StyleManager extends React.Component {
- constructor(props) {
- super(props);
- this.state = {};
- }
- render() {
- const { getFieldDecorator } = this.props.form;
- return (
- <Form>
- <FormItem label='图例'>
- {getFieldDecorator('legend')(
- <Input />
- )}
- </FormItem>
- </Form>
- );
- }
- }
- export default Form.create()(StyleManager);
|