Function
ComboboxChips
({
className,
...props
}: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> &
ComboboxPrimitive.Chips.Props)
Source from the content-addressed store, hash-verified
| 233 | } |
| 234 | |
| 235 | function ComboboxChips({ |
| 236 | className, |
| 237 | ...props |
| 238 | }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & |
| 239 | ComboboxPrimitive.Chips.Props) { |
| 240 | return ( |
| 241 | <ComboboxPrimitive.Chips |
| 242 | data-slot="combobox-chips" |
| 243 | className={cn( |
| 244 | "dark:bg-input/30 border-input focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-8 flex-wrap items-center gap-1 rounded-none border bg-transparent bg-clip-padding px-2.5 py-1 text-xs transition-colors focus-within:ring-1 has-aria-invalid:ring-1 has-data-[slot=combobox-chip]:px-1", |
| 245 | className |
| 246 | )} |
| 247 | {...props} |
| 248 | /> |
| 249 | ); |
| 250 | } |
| 251 | |
| 252 | function ComboboxChip({ |
| 253 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected