Skip to content

Conversation

@untemps
Copy link
Owner

@untemps untemps commented Jan 27, 2022

This PR adds a content prop that allows to set a text content instead of a DOM element.
It also includes a partial rewrite of the underlying Tooltip class which led to a breaking change as the prop contentClassName has been renamed to containerClassName to be more accurate.

BREAKING CHANGE: `contentClassName` has been renamed `containerClassName` to be more consistent
@untemps untemps self-assigned this Jan 27, 2022
@untemps untemps linked an issue Jan 27, 2022 that may be closed by this pull request
@untemps untemps added the enhancement New feature or request label Jan 27, 2022
@untemps untemps merged commit ea03acd into main Jan 27, 2022
@untemps untemps deleted the feat/#8 branch January 27, 2022 20:00
github-actions bot pushed a commit that referenced this pull request Jan 27, 2022
# [2.0.0](v1.2.0...v2.0.0) (2022-01-27)

### Features

* Add content prop ([#12](#12)) ([ea03acd](ea03acd))

### BREAKING CHANGES

* `contentClassName` has been renamed `containerClassName` to be more consistent
@untemps
Copy link
Owner Author

untemps commented Jan 27, 2022

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to pass a text content to the tooltip

2 participants