From f3b5f5c87cfc3b22351e1db3f6d534aef3e95c9a Mon Sep 17 00:00:00 2001 From: SomeCodecat <88855796+SomeCodecat@users.noreply.github.com> Date: Tue, 20 May 2025 17:07:35 +0200 Subject: [PATCH] feat: add separator component --- src/components/{ui => custom-ui}/separator.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename src/components/{ui => custom-ui}/separator.tsx (69%) diff --git a/src/components/ui/separator.tsx b/src/components/custom-ui/separator.tsx similarity index 69% rename from src/components/ui/separator.tsx rename to src/components/custom-ui/separator.tsx index 39eb020..3b4f1ef 100644 --- a/src/components/ui/separator.tsx +++ b/src/components/custom-ui/separator.tsx @@ -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} /> );