From fdf055ae222ac2063fa87759479018248657fd63 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Mon, 26 Aug 2024 21:33:01 +0300
Subject: feature(mobile): Allow configuring uploaded image quality in the
 mobile app

---
 apps/mobile/components/ui/PageTitle.tsx | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'apps/mobile/components/ui/PageTitle.tsx')

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>
   );
 }
-- 
cgit v1.3-1-g0d28

