fix: change style of Tag

This commit is contained in:
RadoslavDimchev 2023-08-10 09:38:12 +03:00
parent 544ddff529
commit 0f56ddefed

View File

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