From 120857cf60839c765fb8787b01a6f4bf60d4ed20 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 21 Jul 2023 23:25:32 +0300 Subject: [PATCH] Create statistic texts component --- .../StatisticTexts/StatisticTexts.jsx | 33 +++++++++++++++++++ .../StatisticTexts/index.jsx | 1 + 2 files changed, 34 insertions(+) create mode 100644 src/pages/DeviceHealthCheck/StatisticTexts/StatisticTexts.jsx create mode 100644 src/pages/DeviceHealthCheck/StatisticTexts/index.jsx diff --git a/src/pages/DeviceHealthCheck/StatisticTexts/StatisticTexts.jsx b/src/pages/DeviceHealthCheck/StatisticTexts/StatisticTexts.jsx new file mode 100644 index 00000000..4188f61a --- /dev/null +++ b/src/pages/DeviceHealthCheck/StatisticTexts/StatisticTexts.jsx @@ -0,0 +1,33 @@ +import { YStack } from "tamagui"; +import { IconText } from "../../../components/IconText/IconText"; + +const StatisticTexts = () => { + return ( + + {statisticTexts.map((statisticText) => ( + + ))} + + ); +}; + +export { StatisticTexts }; + +const statisticTexts = [ + { + icon: "/icons/remove-circle-red.png", + text: "Your storage is running low as required for additional node services.", + }, + { + icon: "/icons/checkmark-circle-green.png", + text: "2.4GHz is recommended for CPU.", + }, + { + icon: "/icons/checkmark-circle-green.png", + text: "There is sufficient ram required for selected services.", + }, + { + icon: "/icons/checkmark-circle-blue.png", + text: "Network Latency is low.", + }, +]; diff --git a/src/pages/DeviceHealthCheck/StatisticTexts/index.jsx b/src/pages/DeviceHealthCheck/StatisticTexts/index.jsx new file mode 100644 index 00000000..ebdf8d93 --- /dev/null +++ b/src/pages/DeviceHealthCheck/StatisticTexts/index.jsx @@ -0,0 +1 @@ +export { StatisticTexts } from "./StatisticTexts";