diff options
Diffstat (limited to 'src/components/Display')
-rw-r--r-- | src/components/Display/ClientInfoDisplay.js | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/components/Display/ClientInfoDisplay.js b/src/components/Display/ClientInfoDisplay.js index 34f001b..7eb46d2 100644 --- a/src/components/Display/ClientInfoDisplay.js +++ b/src/components/Display/ClientInfoDisplay.js @@ -10,10 +10,20 @@ import React from "react"; import "./Display.scss"; const ClientInfoDisplay = (props) => { + //console.log(props.client) return ( - <div> - Client Name: {props.client.Name} - </div> + <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> ); } |