We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Button
size
1 parent 36058ab commit a1693a3Copy full SHA for a1693a3
src/components/ui/combobox.tsx
@@ -149,8 +149,9 @@ function ComboBoxButton(
149
{
150
children,
151
className,
152
+ variant,
153
...props
- }: React.ComponentProps<"button">
154
+ }: React.ComponentProps<typeof Button>
155
) {
156
const {placeholder, selectedOption} = useComboBox();
157
@@ -170,7 +171,7 @@ function ComboBoxButton(
170
171
return (
172
<Button
173
data-slot="combobox-button"
- variant="outline"
174
+ variant={variant ?? "outline"}
175
role="combobox"
176
className={cn("justify-between w-full", !selectedOption && "text-muted-foreground", className)}
177
{...props}
0 commit comments