diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-24 15:53:42 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-24 15:53:42 +0530 |
commit | 5329b1fd16d0b8940f9526b523676dfb1cdbf317 (patch) | |
tree | d65963f6a797e72c2fae8332568bddc00d2293a9 /src/components/Form/Document/MetaInfoForm.tsx | |
parent | e21a1c15a2e4bf3e51cdd7a5671bbfee5837ef13 (diff) |
switching to typescript
Diffstat (limited to 'src/components/Form/Document/MetaInfoForm.tsx')
-rw-r--r-- | src/components/Form/Document/MetaInfoForm.tsx | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/components/Form/Document/MetaInfoForm.tsx b/src/components/Form/Document/MetaInfoForm.tsx new file mode 100644 index 0000000..da484ab --- /dev/null +++ b/src/components/Form/Document/MetaInfoForm.tsx @@ -0,0 +1,38 @@ +/* + * OpenBills - Self hosted browser app to generate and keep track of simple invoices + * Version - 0 + * Licensed under the MIT license - https://opensource.org/licenses/MIT + * + * Copyright (c) 2021 Vidhu Kant Sharma +*/ + +import React from "react"; +import "./../Form.scss"; + +interface Transport { + name: string, + vehicleNum: string, + method: string, // shipment method + gstin: string, + builty: string // goods receipt +} + +const MetaInfoForm: React.FC = () => { + // don't push it to github! + const sampleTransport: Transport = { + name: "Own Vehicle", + vehicleNum: "HR61C9220", + method: "By Road", + gstin: "", + builty: "" + } + console.log(sampleTransport); + return ( + <div className={"MetaInfoForm"}> + <form> + </form> + </div> + ); +} + +export default MetaInfoForm; |