Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

471 B
Raw Blame
import { View } from "react-native";
import { cn } from "@/lib/utils";

function Divider({
  className,
  orientation,
  ...props
}: {
  color?: string;
  orientation: "horizontal" | "vertical";
} & React.ComponentPropsWithoutRef<typeof View>) {
  return (
    <View
      className={cn(
        "bg-slate-400/20 dark:bg-border/50",
        orientation === "horizontal" ? "h-0.5" : "w-0.5",
        className,
      )}
      {...props}
    />
  );
}

export { Divider };