【文件属性】:
文件名称:react-native-searchable-list:带有搜索功能的FlatList和SectionList周围的包装器
文件大小:6KB
文件格式:ZIP
更新时间:2021-02-03 19:02:00
react search npm react-native filter
React本机可搜索列表
React Native FlatList和SectionList的强大包装器,提供内置的搜索功能。 react-native-searchable-list的设计非常简单,但是它是对react native的FlatList和SectionList组件的强大包装,可为它们提供搜索功能。
安装
npm i react-native-searchable-list --save
1. SearchableFlatList
API
道具
描述
数据类型
是必须的
data
FlatList的数据
Array :check_mark_button:
searchTerm
用户输入的搜索词。 通常,这
【文件预览】:
react-native-searchable-list-master
----package.json(1KB)
----LICENSE(1KB)
----src()
--------index.js(169B)
--------SearchableFlatList.js(1KB)
--------SearchableSectionList.js(2KB)
----.gitignore(914B)
----README.md(12KB)