0.3.3 • Published 8 years ago

react-native-combined-button v0.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

react-native-combined-button

A button component combined with icon and text for react-native app.

Demo

Demo

Usage

import CombinedButton from 'react-native-combined-button';

<CombinedButton style={styles.iconBtn}
   iconPosition="left"
   text="Left Icon"
   icon={require('./img/ic_launcher.png')} />

Properties

  • style : style of the CombinedButton. Can be an Array.
  • icon : Button icon, optional.
  • iconPosition : Position of the icon in the button. Can be 'top', 'right', 'bottom' or 'left'.
  • Style : style of the button text, optional
  • iconStyle : style of the icon, optional