diff --git a/src/App.tsx b/src/App.tsx index a9fd4dbf..87012520 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -28,7 +28,14 @@ function App() {
- + ) diff --git a/src/components/HealthInfoSection.tsx b/src/components/HealthInfoSection.tsx index fd5c083b..9001824f 100644 --- a/src/components/HealthInfoSection.tsx +++ b/src/components/HealthInfoSection.tsx @@ -1,6 +1,19 @@ import { YStack } from 'tamagui' -const HealthInfoSection = () => { +type HealthInfoSectionProps = { + usedStorage: number + maxStorage: number + usedCpuClockRate: number + usedRamMemory: number + maxRamMemory: number + network: number +} + +const HealthInfoSection = (props: HealthInfoSectionProps) => { + const { usedStorage, maxStorage, usedCpuClockRate, usedRamMemory, maxRamMemory, network } = props + + console.log(usedStorage, maxStorage, usedCpuClockRate, usedRamMemory, maxRamMemory, network) + return }