import { Separator as GuiSeparator } from '@hanzo/gui'; import React from 'react'; type Orientation = 'horizontal' | 'vertical'; type Variant = 'solid' | 'dashed' | 'dotted'; type Size = 'xs' | 'sm' | 'md' | 'lg'; export interface SeparatorProps extends React.HTMLAttributes { readonly orientation?: Orientation; readonly variant?: Variant; readonly size?: Size; } /** Border weight by size — the rule is one edge, so the weight is one number. */ const WEIGHT: Record = { xs: 0.5, sm: 1, md: 2, lg: 3 }; // gui's Separator wearing the Lux border scale. `vertical` is the primitive's // own orientation variant, so it lays out correctly on native too; weight and // dash pattern are props rather than classes for the same reason. export const Separator = React.forwardRef( function Separator( { orientation = 'horizontal', variant = 'solid', size = 'sm', ...rest }, ref, ) { const vertical = orientation === 'vertical'; return ( ); }, );