Skip to content

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

License

Notifications You must be signed in to change notification settings

bird-frank/react-native-combined-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  • text : Button text, optional.
  • icon : Button icon, optional.
  • iconPosition : Position of the icon in the button. Can be 'top', 'right', 'bottom' or 'left'.
  • textStyle : style of the button text, optional
  • iconStyle : style of the icon, optional

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published