fix: replace shadow box with shadox

This commit is contained in:
RadoslavDimchev 2023-08-11 12:18:57 +03:00
parent 5c3a6c73c9
commit 37518f0d56
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import ShadowBox from './ShadowBox'
import IconText from './IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import StandardGauge from './StandardGauge'
import { Shadow } from '@status-im/components'
interface DeviceStorageHealthProps {
storage: number
maxStorage: number
@ -28,7 +28,7 @@ const DeviceStorageHealth: React.FC<DeviceStorageHealthProps> = ({ storage, maxS
]
}
return (
<ShadowBox boxStyle={{ width: '284px', height: '136px' }}>
<Shadow style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
<YStack>
<XStack
justifyContent="space-between"
@ -64,7 +64,7 @@ const DeviceStorageHealth: React.FC<DeviceStorageHealthProps> = ({ storage, maxS
{/* <Text color={'#E95460'}>This is additional text</Text> */}
</XStack>
</YStack>
</ShadowBox>
</Shadow>
)
}