From 062f10a25d43b875d187cf582b2ecf96d075ec26 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Thu, 25 Mar 2021 23:09:49 +0300
Subject: refactor: move services to separate folder

---
 src/services/products/ProductForm.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/services/products/ProductForm.tsx

(limited to 'src/services/products/ProductForm.tsx')

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;
-- 
cgit v1.2.3

