一个具有可以伸缩高度和顶部内容顶部View以及中

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


SOURCE

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

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。