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

Allow to use OnScreen without specifying html element type #19

Merged
merged 3 commits into from
Oct 21, 2023

Conversation

ukorvl
Copy link
Owner

@ukorvl ukorvl commented Oct 21, 2023

closes #12

This diff adds default any value for a generic type parameter of OnScreen element. It will be much more convenient to use component without always specifying generic like <OnScreen<HTMLUlListElement>> ...

@ukorvl ukorvl self-assigned this Oct 21, 2023
@github-actions
Copy link

github-actions bot commented Oct 21, 2023

size-limit report 📦

Path Size
build/react-on-screen.esm.js 2.39 KB (0%)

@ukorvl ukorvl merged commit e8cc9ae into master Oct 21, 2023
2 checks passed
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.

Allow to use OnScreen component without specifying generic type
1 participant