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

[Typescript] - Property 'className' does not exist on type #686

Closed
margual56 opened this issue Aug 28, 2021 · 0 comments · Fixed by #687
Closed

[Typescript] - Property 'className' does not exist on type #686

margual56 opened this issue Aug 28, 2021 · 0 comments · Fixed by #687

Comments

@margual56
Copy link

I'm using Typescript and when I try to do <Split className="something"></Split>, it throws me an error saying that there is no such thing defined in the props.

Could the solution be just adding the line className?: PropTypes.string to the appropiate place?

@margual56 margual56 changed the title Property 'className' does not exist on type [Typescript] - Property 'className' does not exist on type Aug 28, 2021
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 a pull request may close this issue.

1 participant