fix: delete information box

This commit is contained in:
RadoslavDimchev 2023-08-11 09:59:45 +03:00
parent 23de7820c7
commit 9d7cd4c2c5
1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
import { XStack } from 'tamagui'
import Icon from './Icon'
import FormattedText, { TextElement } from './FormattedText'
type InformationBoxProps = {
icon: string
textElements: TextElement[]
}
const InformationBox = ({ icon, textElements }: InformationBoxProps) => {
return (
<XStack
style={{
border: '2px solid #E7EAEE',
borderRadius: '12px',
padding: '11px 16px',
maxWidth: '590px',
alignItems: 'start',
}}
space={'$2'}
>
<Icon source={icon} width={12} height={12} />
<FormattedText textElements={textElements} color={'#647084'} fontSize={'$3'} />
</XStack>
)
}
export default InformationBox