Skip to content

css class name and hierarchy changed for IconButtons #1182

Answered by mayank99
muthubentley asked this question in Q&A
Discussion options

You must be logged in to vote

we have documented all dom structure changes here: https://github.com/iTwin/iTwinUI/wiki/iTwinUI-v1-migration-guide

But in general, the user should not rely on our internal classes. Instead you should only target custom classes so that you are shielded from any breaking changes we make to our classes. In the next major version, we are planning to rename every single class and make it an implementation detail.

as a side note, your markup looks invalid. There should be no <label> element inside a <button>.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by muthubentley
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants