mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-26 13:50:06 -06:00
text changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { H1 as TamaguiH1, H2 as TamaguiH2, SizeTokens, Label as TamaguiLabel, H6 } from "tamagui"
|
||||
import { H1 as TamaguiH1, H2 as TamaguiH2, SizeTokens, Label as TamaguiLabel, H5 } from "tamagui"
|
||||
|
||||
interface LabelProps {
|
||||
htmlFor: string,
|
||||
@@ -31,8 +31,8 @@ interface TextProps {
|
||||
|
||||
export function Text(props: TextProps): React.JSX.Element {
|
||||
return (
|
||||
<H6 alignContent={props.alignCenter ? 'center' : 'unset'}>
|
||||
<H5 fontSize="$3" alignContent={props.alignCenter ? 'center' : 'unset'}>
|
||||
{ props.children }
|
||||
</H6>
|
||||
</H5>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user