feat: add separator component
This commit is contained in:
parent
65ecb9e192
commit
80374e87bf
1 changed files with 1 additions and 4 deletions
|
@ -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}
|
||||
/>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue