summaryrefslogtreecommitdiff
path: root/src/services/products/ProductForm.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/products/ProductForm.tsx')
-rw-r--r--src/services/products/ProductForm.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/services/products/ProductForm.tsx b/src/services/products/ProductForm.tsx
new file mode 100644
index 0000000..62f0e70
--- /dev/null
+++ b/src/services/products/ProductForm.tsx
@@ -0,0 +1,15 @@
+import React from 'react';
+import { Form } from 'formik';
+import Input from '../../components/Input';
+
+
+const ProductForm: React.FC = () => {
+ return (
+ <Form id="form">
+ <Input name="name" label="Название" />
+ <Input name="price" type="number" label="Цена" />
+ </Form>
+ );
+};
+
+export default ProductForm;