mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
fix: change style of Tag
This commit is contained in:
parent
544ddff529
commit
0f56ddefed
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user