Live video on the AT Protocol
1import { Text, TextProps } from "tamagui";
2
3export default function Title({
4 children,
5 ...props
6}: TextProps & { children: React.ReactNode }) {
7 return (
8 <Text
9 $sm={{
10 fontSize: "$6",
11 }}
12 $md={{
13 fontSize: "$7",
14 }}
15 $lg={{
16 fontSize: "$8",
17 }}
18 $gtLg={{
19 fontSize: "$9",
20 }}
21 fontSize="$9"
22 fontWeight="bold"
23 {...props}
24 >
25 {children}
26 </Text>
27 );
28}