Fix icon position at information box

This commit is contained in:
RadoslavDimchev 2023-07-21 17:16:23 +03:00
parent 790f2e6c7f
commit 97b58877c7
1 changed files with 4 additions and 5 deletions

View File

@ -7,14 +7,13 @@ const InformationBox = ({ icon, text }) => {
border: "2px solid #E7EAEE", border: "2px solid #E7EAEE",
borderRadius: "12px", borderRadius: "12px",
padding: "11px 16px", padding: "11px 16px",
gap: "8px",
width: "632px", width: "632px",
alignItems: "start",
}} }}
space={"$2"}
> >
<Image source={{ uri: icon }} width={12} height={12} /> <Image source={{ uri: icon }} width={12} height={12} style={{marginTop: '6px'}} />
<Paragraph color={"#647084"} style={{ margin: 0, padding: 0 }}> <Paragraph color={"#647084"}>{text}</Paragraph>
{text}
</Paragraph>
</XStack> </XStack>
); );
}; };