import React from "react"; import { View } from "react-native"; import * as SeparatorPrimitive from "@rn-primitives/separator"; import { cn } from "../utils/cn"; import { MutedText } from "./text"; interface SeparatorProps { orientation?: "horizontal" | "vertical"; decorative?: boolean; className?: string; } const Separator = React.forwardRef< React.ElementRef, SeparatorProps >(({ orientation = "horizontal", decorative = true, className, ...props }, ref) => ( )); Separator.displayName = "Separator"; function SeparatorWithText({ text = "or" }: { text?: string }) { return ( {text} ); } export { Separator, SeparatorWithText };