fix: delete information box
This commit is contained in:
parent
23de7820c7
commit
9d7cd4c2c5
|
@ -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
|
Loading…
Reference in New Issue