From a17789f8b4c5cc9c2c9371e8f5dc2bad6a5072d6 Mon Sep 17 00:00:00 2001 From: TAJ <124231329+tajmahal226@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:21:05 -0400 Subject: [PATCH] Create Leaderboard.js --- Leaderboard.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Leaderboard.js diff --git a/Leaderboard.js b/Leaderboard.js new file mode 100644 index 0000000..0e2a271 --- /dev/null +++ b/Leaderboard.js @@ -0,0 +1,28 @@ +import { tableHeaderStyle, tableCellStyle } from './styles.js'; + +const Leaderboard = ({ data }) => ( + + + + + + + + + + + + {data.map((bdr, index) => ( + + + + + + + + ))} + +
BDRCallsEmailsMeetingsConversion Rate
{bdr.name}{bdr.calls}{bdr.emails}{bdr.meetings}{(bdr.meetings / bdr.calls * 100).toFixed(2)}%
+); + +export default Leaderboard;