All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Support
[email protected]
- Use external prop-types
- Fixed a bug where setting
loading
tofalse
would remove thedisabled
property from the button.
- Disable button when loading
- Use
ladda
as a dependency instead of a peerDependency
- Support
[email protected]
- Refactor
- Use Babel/ES7 for compilation
- Fixed React warning described in #36
- Changed prop names to the actual data attributes that Ladda uses
- New props for
LaddaButton
that do not collide with existing element props (buttonStyle
instead ofstyle
) - Gave
LaddaButton
ownership of thebutton
component. Any props applied to theLaddaButton
are applied to the wrappedbutton
. The children of theLaddaButton
are rendered insideladda-label
.