diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-26 23:26:20 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-26 23:26:20 +0530 |
commit | e54214c8ecdcf264a0f055ae24afe3299c0c7697 (patch) | |
tree | f030fe9d80174a27a79f026e6b7d6775ca44e0ac /src/components/Display/ClientInfoDisplay.tsx | |
parent | 7f64269194103cc7436041b59676cd96e4a099a0 (diff) |
Fixed and styled ClientInfoDisplay
Diffstat (limited to 'src/components/Display/ClientInfoDisplay.tsx')
-rw-r--r-- | src/components/Display/ClientInfoDisplay.tsx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/Display/ClientInfoDisplay.tsx b/src/components/Display/ClientInfoDisplay.tsx new file mode 100644 index 0000000..ad65e40 --- /dev/null +++ b/src/components/Display/ClientInfoDisplay.tsx @@ -0,0 +1,34 @@ +/* + * 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 { Person } from "./../../interfaces"; +import "./Display.scss"; + +interface Props { + client: Person +} + +const ClientInfoDisplay: React.FC<Props> = (props) => { + return ( + <table className={"ClientInfoDisplay"}> + <tbody> + <tr> + <td>Client Name:</td> + <td>{props.client.Name}</td> + </tr> + <tr> + <td>Client Address:</td> + <td>{props.client.Address}</td> + </tr> + </tbody> + </table> + ); +} + +export default ClientInfoDisplay; |