Files
cloud-cap-samples/chinook/app/front/src/components/manage-store/AddArtistForm.jsx
2021-01-04 14:37:01 +01:00

23 lines
370 B
JavaScript

import React from 'react';
import { Form, Input } from 'antd';
const REQUIRED = [
{
required: true,
message: 'This filed is required!',
},
];
const AddArtistForm = () => {
return (
<>
<h3>Add artist</h3>
<Form.Item label="Name" name="name" rules={REQUIRED}>
<Input />
</Form.Item>
</>
);
};
export { AddArtistForm };