diff options
author | 2019-10-18 10:58:07 +0200 | |
---|---|---|
committer | 2019-10-18 10:58:07 +0200 | |
commit | 0faea6ebfe7d7b69436f073e31c45114dc3f3cbd (patch) | |
tree | 3744511115542d08d16e425657555e2dbe74db85 /src/components/ui/Button.js | |
parent | Implement #129 (diff) | |
parent | Merge pull request #130 from getferdi/l10n_develop (diff) | |
download | ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.gz ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.zst ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.zip |
Merge branch 'develop' of https://github.com/getferdi/ferdi into develop
Diffstat (limited to 'src/components/ui/Button.js')
-rw-r--r-- | src/components/ui/Button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/Button.js b/src/components/ui/Button.js index f46fd34ea..5066b9c06 100644 --- a/src/components/ui/Button.js +++ b/src/components/ui/Button.js | |||
@@ -4,7 +4,7 @@ import { observer, inject } from 'mobx-react'; | |||
4 | import Loader from 'react-loader'; | 4 | import Loader from 'react-loader'; |
5 | import classnames from 'classnames'; | 5 | import classnames from 'classnames'; |
6 | 6 | ||
7 | export default @observer @inject('stores') class Button extends Component { | 7 | export default @inject('stores') @observer class Button extends Component { |
8 | static propTypes = { | 8 | static propTypes = { |
9 | className: PropTypes.string, | 9 | className: PropTypes.string, |
10 | label: PropTypes.string.isRequired, | 10 | label: PropTypes.string.isRequired, |
@@ -26,7 +26,7 @@ export default @observer @inject('stores') class Button extends Component { | |||
26 | static defaultProps = { | 26 | static defaultProps = { |
27 | className: null, | 27 | className: null, |
28 | disabled: false, | 28 | disabled: false, |
29 | onClick: () => {}, | 29 | onClick: () => { }, |
30 | type: 'button', | 30 | type: 'button', |
31 | buttonType: '', | 31 | buttonType: '', |
32 | loaded: true, | 32 | loaded: true, |