feat: add separator component
This commit is contained in:
parent
198520ff83
commit
f3b5f5c87c
1 changed files with 1 additions and 4 deletions
|
@ -16,10 +16,7 @@ function Separator({
|
||||||
data-slot='separator-root'
|
data-slot='separator-root'
|
||||||
decorative={decorative}
|
decorative={decorative}
|
||||||
orientation={orientation}
|
orientation={orientation}
|
||||||
className={cn(
|
className={cn('shrink-0', className)}
|
||||||
'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,
|
|
||||||
)}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
Loading…
Add table
Add a link
Reference in a new issue