Skip to content

A button component looks like native UIButton for React Native

Notifications You must be signed in to change notification settings

chenkun24/CKButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

CKButton

A button component looks like native UIButton for React Native.

Usage

var CKButton = require('./CKButton');

var Example = React.createClass({

    render: function() {
      return(
        <CKButton onPress = {()=>{console.log('Pressed.')}}/>
      );
    }
});

module.exports = Example;

Props

It supports:

  • disabled
  • title
  • titleHighlighted
  • titleDisabled
  • titleStyle
  • titleStyleHighlighted
  • titleStyleDisabled
  • imageSource
  • imageSourceHighlighted
  • imageSourceDisabled
  • onPress

And every properties are optional.

Feedback

Every feedbacks are welcome.

About

A button component looks like native UIButton for React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published