aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-08-26 21:33:01 +0300
committerMohamedBassem <me@mbassem.com>2024-08-26 21:33:01 +0300
commitfdf055ae222ac2063fa87759479018248657fd63 (patch)
tree686d5d921ae42f9108dbfa9faf00a9d10006f94f /apps/mobile/components
parent140554021e83ca375845584f8d7e5e476434f1c0 (diff)
downloadkarakeep-fdf055ae222ac2063fa87759479018248657fd63.tar.zst
feature(mobile): Allow configuring uploaded image quality in the mobile app
Diffstat (limited to 'apps/mobile/components')
-rw-r--r--apps/mobile/components/ui/PageTitle.tsx13
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>
);
}