We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177bb0c commit 93e39a1Copy full SHA for 93e39a1
1 file changed
src/LaddaButton.jsx
@@ -1,6 +1,6 @@
1
import React, { Component } from 'react'
2
import PropTypes from 'prop-types'
3
-import Ladda from 'ladda'
+import { create } from 'ladda'
4
5
import { SIZES, STYLES } from './constants'
6
@@ -48,7 +48,7 @@ class LaddaButton extends Component {
48
};
49
50
componentDidMount() {
51
- this.laddaInstance = Ladda.create(this.node)
+ this.laddaInstance = create(this.node)
52
53
if (this.props.loading) {
54
this.laddaInstance.start()
0 commit comments