update select

This commit is contained in:
2025-11-07 07:44:40 -03:00
parent 0550f508b9
commit c8b4d9beeb
9 changed files with 192 additions and 179 deletions

View File

@@ -21,8 +21,8 @@ import { Separator } from '@repo/ui/components/ui/separator'
import { cn } from '@repo/ui/lib/utils'
interface FacetedFilterProps<TData, TValue> {
value?: string[]
title?: string
value?: string[]
icon: React.ComponentType
className?: string
options: {
@@ -55,7 +55,7 @@ export function FacetedFilter<TData, TValue>({
{title}
{selectedValues?.size > 0 && (
<>
<Separator orientation="vertical" className="mx-2 h-4" />
<Separator orientation="vertical" className="mx-0.5 h-4" />
<div className="gap-1 flex">
{selectedValues.size > 2 ? (
<Badge