Skip to content

Commit 614fe17

Browse files
fix(listbox): update splitProps to avoid partial (#2746)
* fix(listbox): update `splitProps` to avoid partial * docs: changelog * docs: changelog Changed version bump for @zag-js/listbox from minor to patch. --------- Co-authored-by: Segun Adebayo <[email protected]>
1 parent 567c984 commit 614fe17

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/weak-grapes-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zag-js/listbox": patch
3+
---
4+
5+
fix: update `splitProps` to avoid partial

packages/machines/listbox/src/listbox.props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const props = createProps<ListboxProps>()([
2525
"typeahead",
2626
"value",
2727
])
28-
export const splitProps = createSplitProps<Partial<ListboxProps>>(props)
28+
export const splitProps = createSplitProps<ListboxProps>(props)
2929

3030
export const itemProps = createProps<ItemProps>()(["item", "highlightOnHover"])
3131
export const splitItemProps = createSplitProps<ItemProps>(itemProps)

0 commit comments

Comments
 (0)