fix: change style of Tag

This commit is contained in:
RadoslavDimchev 2023-08-10 09:38:12 +03:00
parent 544ddff529
commit 0f56ddefed
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import { Paragraph } from 'tamagui'
import { Text } from 'tamagui'
type TagProps = {
bc: string
@ -11,14 +11,14 @@ const Tag = ({ bc, text }: TagProps) => {
style={{
backgroundColor: bc,
display: 'flex',
padding: '0px 8px',
padding: '2px 6px',
alignItems: 'center',
borderRadius: '67px',
}}
>
<Paragraph fontWeight={'500'} fontSize={'10px'}>
<Text fontWeight={'500'} fontSize={'9px'} color={'white'}>
{text}
</Paragraph>
</Text>
</div>
)
}