import React from 'react';
import { cn } from '@/lib/utils'; // Make sure you have this utility

const Separator = React.forwardRef(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => {
    return (
        <div
            ref={ref}
            role={decorative ? 'none' : 'separator'}
            className={cn(
                'shrink-0 bg-border',
                orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
                className
            )}
            {...props}
        />
    );
});

Separator.displayName = 'Separator';

export { Separator };