/ Button

A button that implement most of the HTML attributes and flexes itself

A button that implement most of the HTML attributes and flexes itself

react-native-osd-simple-button

A button that implement most of the HTML attributes and flexes itself (that is not a word)

For react-native v0.26+

Properties

Property Name Type
backgroundColor React.PropTypes.string,
children React.PropTypes.oneOfType([
React.PropTypes.arrayOf(React.PropTypes.node),
React.PropTypes.node
])
containerStyle View.propTypes.style
onPress React.PropTypes.func.isRequired
text React.PropTypes.string
textContainerStyle View.propTypes.style
textStyle Text.propTypes.style
underlayColor React.PropTypes.string
uppercase React.PropTypes.bool

TODO

  • Add disabled property

GitHub