mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
fix: resolve Select children type conflict with ButtonProps
This commit is contained in:
parent
ecd28fd520
commit
de87694867
2 changed files with 1 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue