File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,25 @@ var Listitem = require('react-native-listitem')
2424
2525Prop | Type | Optional | Default | Description
2626--------------- | ------ | -------- | --------- | -----------
27- backgroundColor | string | Yes | '#ffffff' |
27+ text | string | Yes | null | text displayed in listitem
2828children | string | Yes | null | pass custom component as child
29+ backgroundColor | string | Yes | '#ffffff' |
2930onPress | func | Yes | null | function executed onPress
3031paddingTop | int | Yes | 14 |
3132paddingRight | int | Yes | 16 |
3233paddingBottom | int | Yes | 16 |
3334paddingLeft | int | Yes | 16 |
34- text | string | Yes | null | text displayed in listitem
3535
36+ #### Props for swipeout
37+
38+ Prop | Type | Optional | Default | Description
39+ ----------------------- | ------ | -------- | --------- | -----------
40+ swipeoutLeft | array | Yes | [ ] | swipeout buttons on left
41+ swipeoutRight | array | Yes | [ ] | swipeout buttons on right
42+ swipeoutAutoClose | bool | Yes | false | auto close on button press
43+ swipeoutBackgroundColor | string | Yes | '#b6bec0' | background color
44+
45+ For swipeout button props, see [ react-native-swipeout readme] ( https://github.com/dancormier/react-native-swipeout/blob/master/README.md )
3646
3747## To Do
3848
You can’t perform that action at this time.
0 commit comments