fix: resolve Select children type conflict with ButtonProps

This commit is contained in:
David Hill
2026-01-20 21:08:26 +00:00
parent a99093cda0
commit f002a18d13
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export type SelectProps<T> = Omit<ComponentProps<typeof Kobalte<T>>, "value" | "
triggerVariant?: "default" | "button"
}
export function Select<T>(props: SelectProps<T> & ButtonProps) {
export function Select<T>(props: SelectProps<T> & Omit<ButtonProps, "children">) {
const [local, others] = splitProps(props, [
"class",
"classList",