From f227adee3cff445288bdba66d369a451aa31b58e Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 16 Apr 2021 22:20:43 +0530 Subject: using useState to update array of items to be added in the invoice now --- src/components/Display/Display.css | 3 +++ src/components/Display/Display.scss | 6 ++++++ src/components/Display/ItemsDisplay.js | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/components/Display/Display.css create mode 100644 src/components/Display/Display.scss create mode 100644 src/components/Display/ItemsDisplay.js (limited to 'src/components/Display') diff --git a/src/components/Display/Display.css b/src/components/Display/Display.css new file mode 100644 index 0000000..1b89173 --- /dev/null +++ b/src/components/Display/Display.css @@ -0,0 +1,3 @@ +.ItemsDisplay { + margin-top: 3rem; + margin-bottom: 3rem; } diff --git a/src/components/Display/Display.scss b/src/components/Display/Display.scss new file mode 100644 index 0000000..e3d8b7c --- /dev/null +++ b/src/components/Display/Display.scss @@ -0,0 +1,6 @@ +.ItemsDisplay { + margin-top: 3rem; + margin-bottom: 3rem; + + +} diff --git a/src/components/Display/ItemsDisplay.js b/src/components/Display/ItemsDisplay.js new file mode 100644 index 0000000..5e09a5c --- /dev/null +++ b/src/components/Display/ItemsDisplay.js @@ -0,0 +1,11 @@ +import React from "react"; +import "./Display.css"; + +const ItemsDisplay = () => { + return ( +
+
+ ) +} + +export default ItemsDisplay; -- cgit v1.2.3