File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ import { cn } from '@/lib/utils'
12import { CaretSortIcon } from '@radix-ui/react-icons'
3+ import { CheckIcon , X } from 'lucide-react'
24import { memo , useCallback , useMemo , useState } from 'react'
3- import { Popover , PopoverContent , PopoverTrigger } from './popover'
4- import { cn } from '@/lib/utils'
55import { Badge } from './badge'
6- import { CheckIcon , X } from 'lucide-react '
6+ import { Popover , PopoverContent , PopoverTrigger } from './popover '
77
88export type TOption = {
99 label : string
@@ -72,7 +72,7 @@ export const MultipleSelect = memo(
7272 return (
7373 < Popover >
7474 < PopoverTrigger asChild >
75- < div className = 'flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 cursor-pointer focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none select-none gap-1' >
75+ < div className = 'flex min- h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 cursor-pointer focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none select-none gap-1 flex-wrap ' >
7676 { selectedWithLabel && selectedWithLabel . length ? (
7777 selectedWithLabel ?. map ( ( item ) => (
7878 < Badge
You can’t perform that action at this time.
0 commit comments