Create statistic texts component

This commit is contained in:
RadoslavDimchev 2023-07-21 23:25:32 +03:00
parent 18443f3139
commit 120857cf60
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,33 @@
import { YStack } from "tamagui";
import { IconText } from "../../../components/IconText/IconText";
const StatisticTexts = () => {
return (
<YStack space={"$2"}>
{statisticTexts.map((statisticText) => (
<IconText key={statisticText.text} {...statisticText} />
))}
</YStack>
);
};
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.",
},
];

View File

@ -0,0 +1 @@
export { StatisticTexts } from "./StatisticTexts";