From 29769e11973bd20b191d37420af0f5c4fef1212e Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 15 Sep 2023 16:08:48 +0300 Subject: [PATCH] Create ExecutionUptime.tsx --- .../ExecutionUptime/ExecutionUptime.tsx | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx diff --git a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx new file mode 100644 index 00000000..454051ee --- /dev/null +++ b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx @@ -0,0 +1,70 @@ +import { Shadow, Text } from '@status-im/components'; +import { Stack, XStack, YStack } from 'tamagui'; +import Icon from '../../../components/General/Icon'; +import UptimeChart from '../UptimeChart/UptimeChart'; + +const data: DataItem[] = [ + { + // @NOTE: if you want to add name in the XAxis. You need to set the names here + pv: 1, + pa: 1, + }, + { + pv: 0, + pa: 0 + }, + { + pv: 0, + pa: 0 + }, + { + pv: 0, + pa: 1 + }, + { + pv: 0, + pa: 0 + }, + { + pv: 1, + pa: 0 + }, + { + pv: 0, + pa: 1 + }, +]; + +interface DataItem { + name?: string; + pa: number; + pv: number; +} + +const ExecutionUptime = () => { + return ( + + + + Execution Uptime + + 99% + + 2% + + + + + + + + + + ); +} +export default ExecutionUptime; \ No newline at end of file