iOS-style listitem component for React Native
Objective-C JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit f67201d Feb 6, 2018
Failed to load latest commit information.
example update example react-native to 0.7.1 Jul 11, 2015
.gitignore first commit Jun 10, 2015
.npmignore first commit Jun 10, 2015
LICENSE first commit Jun 10, 2015 Update Feb 6, 2018
index.js - padding props, + style styleText indent bgColor Jun 20, 2015
package.json 1.0.4 Jul 11, 2015
styles.js add missing styles Jun 20, 2015

This is crusty as hell

don't use it.


react-native-listitem acts as a quick default for iOS-native styling of a listitem

listitem preview


npm install --save react-native-listitem

Usage example

note: see example/index.ios.js for more detailed example

var Listitem = require('react-native-listitem')

// Listitem component
  onPress={ function(){console.log('pressed')} } />


Prop Type Optional Default Description
text string Yes null text displayed in listitem
children string Yes null pass custom component as child
backgroundColor string Yes '#ffffff'
indent int Yes 15 paddingLeft for listitem contents
onPress func Yes null function executed onPress
style string Yes custom style for listitem
styleText string Yes custom style for listitem text

To Do