fix ios patch refact
This commit is contained in:
22
ios/patching/Logotype.tsx
Normal file
22
ios/patching/Logotype.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from 'react'
|
||||
import {Text} from 'react-native'
|
||||
import {useTheme, atoms as a} from '#/alf'
|
||||
|
||||
export function Logotype({width, fill, style}: any) {
|
||||
const t = useTheme()
|
||||
const fontSize = width ? parseInt(width) / 3.5 : 22
|
||||
|
||||
return (
|
||||
<Text style={[
|
||||
a.font_bold,
|
||||
{
|
||||
fontSize,
|
||||
color: fill || t.palette.primary_500,
|
||||
letterSpacing: -0.5
|
||||
},
|
||||
style
|
||||
]}>
|
||||
Aiat
|
||||
</Text>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user