react-native-imagefooter-listview
v0.1.7
Published
a listview with a special image and footer
Downloads
4
Readme
React Native ImageFooter ListView
this is a listview with a scrollable header with an image、title as well as a custom footer view.
Of course, this special listView supports all properties provided by ListView, so you can use it just like an original ListView.
Demo
Usage
install
npm install react-native-imagefooter-listview --save
Props
Name | Description | Default | Type
------|-------------|----------|-----------
title | title in header | title
| string
titleColor | color of title | white
| string
titleSize | size of title | 18
| number
headerStartHeight | height of header when start | 180
| number
headerEndHeight | height of header after scrolled | 64
| number
titleMarginTop | marginTop of title | 64
| number
headerImages | image you can put in | null
| number or string
showsVerticalScrollIndicator | whether to show vertical indicator in listview | false
| boolean
renderFooter | return the view you want to put the end of header | null
| func
License
MIT License