aboutsummaryrefslogtreecommitdiff
path: root/src/components/Menu
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-07 12:46:08 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-07 12:46:08 +0530
commita7965136d75c97bb6e2696c46a7d4a27dc33996c (patch)
treecbcec33c13b088a9b8260a6068aa911ec885e27e /src/components/Menu
parent1b5622ba01eb30768c49dcb9b7ac155cca0504e2 (diff)
create basic menu for adding transport info
Diffstat (limited to 'src/components/Menu')
-rw-r--r--src/components/Menu/InvoiceInfoMenu.tsx23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/components/Menu/InvoiceInfoMenu.tsx b/src/components/Menu/InvoiceInfoMenu.tsx
index 2c56f7e..ce61858 100644
--- a/src/components/Menu/InvoiceInfoMenu.tsx
+++ b/src/components/Menu/InvoiceInfoMenu.tsx
@@ -9,20 +9,17 @@
import React from "react";
//import "./../Form.scss";
-const InvoiceInfoMenu: React.FC = () => {
+interface Props {
+ setShowTransportForm: any
+}
+
+const InvoiceInfoMenu: React.FC<Props> = (props) => {
return (
- <div className={"InvoiceInfoMenu"}>
- c
- o
- m
- i
- n
- g
- s
- o
- o
- n
- </div>
+ <>
+ <div className={"InvoiceInfoMenu"}>
+ <input type="button" value="Add Transport Labels" onClick={() => props.setShowTransportForm(true)}/>
+ </div>
+ </>
);
}