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

Add support for className prop #254

Merged
merged 1 commit into from
Feb 8, 2017

Conversation

jonbeller
Copy link
Contributor

@jonbeller jonbeller commented Feb 7, 2017

Solution for #242

I chose className as the name of the prop to match the convention of how CSS classes are specified on React components. It is also necessary to accept className for compatibility with the library styled-components.

I did not remove the ability to call the prop class, but I updated the documentation and examples to prefer className. Let me know if you want me to add back references to class!

@wwayne
Copy link
Collaborator

wwayne commented Feb 8, 2017

Good to me, thanks :), will deploy to npm late of today

@wwayne wwayne merged commit dc111e5 into ReactTooltip:master Feb 8, 2017
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