aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/ClientInfoDisplay.js
blob: 7eb46d221d3ed8842e58c8f6a6ef434b8fd97088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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 "./Display.scss";

const ClientInfoDisplay = (props) => {
  //console.log(props.client)
  return (
    <table>
      <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;