You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, sorry for that, forgot to mention it as a breaking change.
Removing wildClasses is a part of implementing a better way of styling everything. Right now the classes follows the BEM methodology. So it works like this:
// Mount
<Popup className="mypopup" />
// Use
Popup.create({ className: 'alert' });
This would generate the class mypopup--alert instead of the unmodularized version alert. The same goes for buttons that uses the object format.
In an upcoming version you'll be able to define the class format yourself as well as a few other options.
I updated react-popup to version 0.9.3, i found that wildClasses is no longer supported
is there another alternative?
ps: i use it to customize buttons
The text was updated successfully, but these errors were encountered: