1.0.5 • Published 10 years ago
react-native-listitem v1.0.5
react-native-listitem
react-native-listitem acts as a quick default for iOS-native styling of a listitem

Installation
npm install --save react-native-listitemUsage example
note: see example/index.ios.js for more detailed example
var Listitem = require('react-native-listitem')
// Listitem component
<Listitem
text="Hello"
onPress={ function(){console.log('pressed')} } />Props
| 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
1.0.5
10 years ago
1.0.4
11 years ago
1.0.3
11 years ago
1.0.2
11 years ago
1.0.1
11 years ago
1.0.0
11 years ago
0.3.1
11 years ago
0.2.5
11 years ago
0.2.4
11 years ago
0.2.3
11 years ago
0.2.2
11 years ago
0.2.1
11 years ago
0.2.0
11 years ago
0.1.2
11 years ago
0.1.1
11 years ago
0.1.0
11 years ago
0.0.4
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago