Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-complete-flatlist

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-complete-flatlist - npm Package Compare versions

Comparing version 1.1.18 to 1.1.19

12

index.js

@@ -21,5 +21,7 @@ import React, { Component } from "react";

componentDidMount() {
if (this.props.pullToRefreshCallback !== null) {
this.props.pullToRefreshCallback();
constructor(props) {
super(props)
const { refreshOnLoad = true, pullToRefreshCallback } = props
if (pullToRefreshCallback !== null && refreshOnLoad) {
pullToRefreshCallback();
}

@@ -135,4 +137,4 @@ }

filteredData.length === 1 &&
filteredData[0].showEmptyRow !== null &&
typeof filteredData[0].showEmptyRow !== "undefined"
filteredData[0].showEmptyRow !== null &&
typeof filteredData[0].showEmptyRow !== "undefined"
? this.props.renderEmptyRow()

@@ -139,0 +141,0 @@ : renderItem(item.item)

{
"name": "react-native-complete-flatlist",
"version": "1.1.18",
"version": "1.1.19",
"description": "A complete flatlist with search bar, highlighted search, pull to refresh, and etc is ready to use",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -82,2 +82,3 @@ # react-native-complete-flatlist

|`searchKey`|array of string|This should be name of keys available in data which will be use to search|null|Optional (if not supplied, search field will not appear)|
|`elementBetweenSearchAndList`|JSX element|What to render between searchbar and the list|null|Optional|
|`elementBetweenSearchAndList`|JSX element|What to render between searchbar and the list|null|Optional|
|`refreshOnLoad`|boolean|If yes, prop `pullToRefreshCallback` will be called if available|true|Optional|
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc