https://github.com/osedea/react-native-osd-simple-button
A button that implement most of the HTML attributes and flexes itself (that is not a word)
https://github.com/osedea/react-native-osd-simple-button
Last synced: 9 months ago
JSON representation
A button that implement most of the HTML attributes and flexes itself (that is not a word)
- Host: GitHub
- URL: https://github.com/osedea/react-native-osd-simple-button
- Owner: Osedea
- License: mit
- Created: 2016-05-31T17:48:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-14T18:09:20.000Z (over 8 years ago)
- Last Synced: 2025-07-01T18:16:58.413Z (11 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 9
- Watchers: 25
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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