Browse Source

add default props

itizawa 5 years ago
parent
commit
cdcf27ca31
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/client/js/components/Navbar/ThreeStrandedButton.jsx

+ 4 - 0
src/client/js/components/Navbar/ThreeStrandedButton.jsx

@@ -51,4 +51,8 @@ ThreeStrandedButton.propTypes = {
   isBtnDisabled: PropTypes.bool,
 };
 
+ThreeStrandedButton.defaultProps = {
+  isBtnDisabled: false,
+};
+
 export default withTranslation()(ThreeStrandedButton);