import type { ReactNode, Ref } from "react"; import { View as RNView, type ViewProps as RNViewProps } from "react-native"; import type { VariantProps } from "tailwind-variants"; import { tv } from "../../core/tv"; const separatorVariants = tv({ base: "border-border-sharp", variants: { vertical: { true: "self-stretch border-r w-px", false: "self-stretch border-b h-px", }, }, defaultVariants: { vertical: false, }, }); type SeparatorVariantProps = VariantProps; export interface SeparatorProps extends RNViewProps, SeparatorVariantProps { ref?: Ref; } export function Separator({ className, vertical, ...props }: SeparatorProps): ReactNode { return ( ); }