UNPKG

@loke/design-system

Version:

A design system with individually importable components

2 lines (1 loc) 545 B
import{cn}from"@loke/design-system/cn";import*as SeparatorPrimitive from"@loke/ui/separator";import{forwardRef}from"react";import{jsx}from"react/jsx-runtime";var Separator2=forwardRef(({className,orientation="horizontal",decorative=!0,...props},ref)=>jsx(SeparatorPrimitive.Separator,{className:cn("shrink-0 bg-border",orientation==="horizontal"?"h-px w-full":"h-full w-px",className),"data-slot":"separator",decorative,orientation,ref,...props}));Separator2.displayName=SeparatorPrimitive.Separator.displayName;export{Separator2 as Separator};