diff options
| author | MohamedBassem <me@mbassem.com> | 2024-08-26 21:33:01 +0300 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-08-26 21:33:01 +0300 |
| commit | fdf055ae222ac2063fa87759479018248657fd63 (patch) | |
| tree | 686d5d921ae42f9108dbfa9faf00a9d10006f94f /apps/mobile/components/ui | |
| parent | 140554021e83ca375845584f8d7e5e476434f1c0 (diff) | |
| download | karakeep-fdf055ae222ac2063fa87759479018248657fd63.tar.zst | |
feature(mobile): Allow configuring uploaded image quality in the mobile app
Diffstat (limited to 'apps/mobile/components/ui')
| -rw-r--r-- | apps/mobile/components/ui/PageTitle.tsx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/mobile/components/ui/PageTitle.tsx b/apps/mobile/components/ui/PageTitle.tsx index 1c1543ce..dc712379 100644 --- a/apps/mobile/components/ui/PageTitle.tsx +++ b/apps/mobile/components/ui/PageTitle.tsx @@ -1,7 +1,16 @@ import { Text } from "react-native"; +import { cx } from "class-variance-authority"; -export default function PageTitle({ title }: { title: string }) { +export default function PageTitle({ + title, + className, +}: { + title: string; + className?: string; +}) { return ( - <Text className="p-4 text-4xl font-bold text-foreground">{title}</Text> + <Text className={cx("p-4 text-4xl font-bold text-foreground", className)}> + {title} + </Text> ); } |
