From 4807c835dafd0519e583e5a88dfcdd487896339c Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sun, 8 Aug 2021 02:36:26 -0300 Subject: [PATCH] Rename props --- src/components/PercentageGauge.tsx | 18 +++++++++--------- src/transaction/RewardSplit.tsx | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/PercentageGauge.tsx b/src/components/PercentageGauge.tsx index 23af8f7..bba06a1 100644 --- a/src/components/PercentageGauge.tsx +++ b/src/components/PercentageGauge.tsx @@ -2,29 +2,29 @@ import React from "react"; type PercentageGaugeProps = { perc: number; - bgFull: string; - bgPerc: string; - textPerc: string; + bgColor: string; + bgColorPerc: string; + textColor: string; }; const PercentageGauge: React.FC = ({ perc, - bgFull, - bgPerc, - textPerc, + bgColor, + bgColorPerc, + textColor, }) => (
-
+
{perc}%
diff --git a/src/transaction/RewardSplit.tsx b/src/transaction/RewardSplit.tsx index 9005d12..7ff4a57 100644 --- a/src/transaction/RewardSplit.tsx +++ b/src/transaction/RewardSplit.tsx @@ -21,9 +21,9 @@ const RewardSplit: React.FC = ({ txData }) => {
@@ -40,9 +40,9 @@ const RewardSplit: React.FC = ({ txData }) => {