aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Display')
-rw-r--r--src/components/Display/ClientInfoDisplay.tsx (renamed from src/components/Display/ClientInfoDisplay.js)10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/Display/ClientInfoDisplay.js b/src/components/Display/ClientInfoDisplay.tsx
index 7eb46d2..ad65e40 100644
--- a/src/components/Display/ClientInfoDisplay.js
+++ b/src/components/Display/ClientInfoDisplay.tsx
@@ -7,12 +7,16 @@
*/
import React from "react";
+import { Person } from "./../../interfaces";
import "./Display.scss";
-const ClientInfoDisplay = (props) => {
- //console.log(props.client)
+interface Props {
+ client: Person
+}
+
+const ClientInfoDisplay: React.FC<Props> = (props) => {
return (
- <table>
+ <table className={"ClientInfoDisplay"}>
<tbody>
<tr>
<td>Client Name:</td>