diff options
Diffstat (limited to 'apps/mobile/components/ui/Divider.tsx')
| -rw-r--r-- | apps/mobile/components/ui/Divider.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/mobile/components/ui/Divider.tsx b/apps/mobile/components/ui/Divider.tsx index cf1b4624..fbc5cf64 100644 --- a/apps/mobile/components/ui/Divider.tsx +++ b/apps/mobile/components/ui/Divider.tsx @@ -2,7 +2,6 @@ import { View } from "react-native"; import { cn } from "@/lib/utils"; function Divider({ - color = "#DFE4EA", className, orientation, ...props @@ -10,15 +9,13 @@ function Divider({ color?: string; orientation: "horizontal" | "vertical"; } & React.ComponentPropsWithoutRef<typeof View>) { - const dividerStyles = [{ backgroundColor: color }]; - return ( <View className={cn( + "bg-accent", orientation === "horizontal" ? "h-0.5" : "w-0.5", className, )} - style={dividerStyles} {...props} /> ); |
