feat: create charts folder and move files

This commit is contained in:
RadoslavDimchev 2023-08-15 10:44:47 +03:00
parent 9936a198bf
commit 82ccc8f802
12 changed files with 12 additions and 12 deletions

View File

@ -16,7 +16,7 @@ type Story = StoryObj<typeof meta>
export const GoodStats: Story = {
args: {
load: [12, 123, 4,32,40],
load: [12, 123, 4, 32, 40],
},
}

View File

@ -1,5 +1,5 @@
import StandartLineChart from './StandardLineChart'
import IconText from './IconText'
import IconText from '../IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow, Text } from '@status-im/components'

View File

@ -30,6 +30,6 @@ export const BadStats: Story = {
export const EmptyStats: Story = {
args: {
currentMemory: [],
maxMemory:0,
maxMemory: 0,
},
}

View File

@ -1,6 +1,6 @@
import StandartLineChart from './StandardLineChart'
import IconText from './IconText'
import IconText from '../IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow as ShadowBox, Text } from '@status-im/components'

View File

@ -1,5 +1,5 @@
import StandartLineChart from './StandardLineChart'
import IconText from './IconText'
import IconText from '../IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow as ShadowBox, Text } from '@status-im/components'

View File

@ -1,4 +1,4 @@
import IconText from './IconText'
import IconText from '../IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import StandardGauge from './StandardGauge'
import { Shadow, Text } from '@status-im/components'

View File

@ -23,8 +23,8 @@ const StandardGauge = ({ data }: StandardGaugeProps) => (
arcLinkLabelsColor={{ from: 'color' }}
enableArcLabels={false}
legends={[]}
motionConfig="gentle" // Define transition style
animate={false} // Enable animation
motionConfig="gentle"
animate={false}
/>
)

View File

@ -2,13 +2,13 @@ import { Stack, XStack, YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import NimbusLogo from '../../components/Logos/NimbusLogo'
import Titles from '../../components/Titles'
import DeviceStorageHealth from '../../components/DeviceStorageHealth'
import DeviceCPULoad from '../../components/DeviceCPULoad'
import DeviceStorageHealth from '../../components/Charts/DeviceStorageHealth'
import DeviceCPULoad from '../../components/Charts/DeviceCPULoad'
import HealthInfoSection from '../../components/HealthInfoSection'
import { Button, InformationBox } from '@status-im/components'
import Icon from '../../components/Icon'
import DeviceMemory from '../../components/DeviceMemoryHealth'
import DeviceNetworkHealth from '../../components/DeviceNetworkHealth'
import DeviceMemory from '../../components/Charts/DeviceMemoryHealth'
import DeviceNetworkHealth from '../../components/Charts/DeviceNetworkHealth'
const DeviceHealthCheck = () => {
return (