nathancahill / split

Unopinionated utilities for resizeable split views
https://split.js.org/
MIT License
6.15k stars 450 forks source link

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

Closed margual56 closed 3 years ago

margual56 commented 3 years ago

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?