Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next #26

Merged
merged 2 commits into from
Nov 27, 2023
Merged

next #26

merged 2 commits into from
Nov 27, 2023

Conversation

vingeraycn
Copy link
Owner

blaiseludvig and others added 2 commits November 27, 2023 14:16
* fix: 🐛 fix type inference for props

Fix the broken type inference caused by using forwardRef. See:
https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/forward_and_create_ref/#generic-forwardrefs

* feat: 🎸 make item and itemContent props customizable

Add getItemProps and getItemContentProps to allow customizing the props
of the wrapper item and the item content

✅ Closes: #21
@vingeraycn vingeraycn merged commit 9288ad9 into main Nov 27, 2023
3 checks passed
@vingeraycn vingeraycn deleted the next branch November 27, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants