feat: add separator component

This commit is contained in:
Maximilian Liebmann 2025-05-20 17:07:35 +02:00
parent 65ecb9e192
commit 80374e87bf

View file

@ -16,10 +16,7 @@ function Separator({
data-slot='separator-root'
decorative={decorative}
orientation={orientation}
className={cn(
'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
className,
)}
className={cn('shrink-0', className)}
{...props}
/>
);