MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / ComboboxClear

Function ComboboxClear

components/ui/combobox.tsx:48–63  ·  view source on GitHub ↗
({ className, ...props }: ComboboxPrimitive.Clear.Props)

Source from the content-addressed store, hash-verified

46}
47
48function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
49 return (
50 <ComboboxPrimitive.Clear
51 data-slot="combobox-clear"
52 render={<InputGroupButton variant="ghost" size="icon-xs" />}
53 className={cn(className)}
54 {...props}
55 >
56 <HugeiconsIcon
57 icon={Cancel01Icon}
58 strokeWidth={2}
59 className="pointer-events-none"
60 />
61 </ComboboxPrimitive.Clear>
62 );
63}
64
65function ComboboxInput({
66 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected