mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-02 22:53:36 +00:00
Create statistic texts component
This commit is contained in:
parent
18443f3139
commit
120857cf60
@ -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.",
|
||||
},
|
||||
];
|
1
src/pages/DeviceHealthCheck/StatisticTexts/index.jsx
Normal file
1
src/pages/DeviceHealthCheck/StatisticTexts/index.jsx
Normal file
@ -0,0 +1 @@
|
||||
export { StatisticTexts } from "./StatisticTexts";
|
Loading…
x
Reference in New Issue
Block a user