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

docs: change useHover stories file extension from js to tsx #2478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PrzemyslawPolrolniczak
Copy link

@PrzemyslawPolrolniczak PrzemyslawPolrolniczak commented Oct 9, 2024

I've just changed file extension and I didn't had to touch any code. Everything is typed well by default

btw. sorry for shitty branch name, I've copied convention from others and didn't knew it will add prefix stuff automatically. Well, it's my 1st open source PR, so lesson learned

Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @PrzemyslawPolrolniczak!
Looks like the useHover needs to be typed to match the div element, just need to add useHover<HTMLDivElement>();
Screenshot 2024-10-10 at 11 50 35

Could you please add?

@talkor talkor changed the title chore: change useHover stories file extension from js to tsx docs: change useHover stories file extension from js to tsx Oct 10, 2024
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