refactor: convert Tag to tsx

This commit is contained in:
RadoslavDimchev 2023-08-08 10:01:53 +03:00
parent d9567ac529
commit 40fc94ac4c

View File

@ -1,6 +1,11 @@
import { Paragraph } from 'tamagui'
const Tag = ({ bc, text }) => {
type TagProps = {
bc: string
text: string
}
const Tag = ({ bc, text }: TagProps) => {
return (
<div
style={{