How to use the native-base.Button.defaultProps function in native-base

To help you get started, we’ve selected a few native-base examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Bit-Nation / BITNATION-Pangea-mobile / src / PangeaCommonReactNative / UI / ArrowButton.js View on Github external
onPress={onPress}
    >

      
      {/*  */}

    
  ));
};

Button.defaultProps = {
  style: undefined,
  enabled: true,
  onPress: () => null,
  title: '',
};

export default ArrowButton;
github Bit-Nation / BITNATION-Pangea-mobile / src / PangeaCommonReactNative / UI / Button.js View on Github external
onPress={onPress}
    >

      {
        children ||
        
        }
      {loading && }

    
  ));
};

Button.defaultProps = {
  style: undefined,
  children: undefined,
  enabled: true,
  onPress: () => null,
  title: '',
};

export default CustomButton;