From a7965136d75c97bb6e2696c46a7d4a27dc33996c Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Wed, 7 Jul 2021 12:46:08 +0530 Subject: create basic menu for adding transport info --- src/components/Menu/InvoiceInfoMenu.tsx | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'src/components/Menu/InvoiceInfoMenu.tsx') 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) => { return ( -
- c - o - m - i - n - g - s - o - o - n -
+ <> +
+ props.setShowTransportForm(true)}/> +
+ ); } -- cgit v1.2.3