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

rn-parallax-view

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rn-parallax-view - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "rn-parallax-view",
"version": "0.1.0",
"version": "0.1.1",
"description": "A ScrollView-like component with parallax and sticky header support",

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

@@ -94,3 +94,4 @@ import React, { Component } from 'react'

} = this.props
const scrollElement = renderScrollComponent(scrollViewProps)
const ListHeaderComponent = scrollElement.props.ListHeaderComponent;
const background = this._renderBackground({

@@ -109,3 +110,3 @@ fadeOutBackground,

stickyHeaderHeight,
renderForeground: renderForeground || renderParallaxHeader
renderForeground: ListHeaderComponent ||renderForeground || renderParallaxHeader
})

@@ -126,3 +127,2 @@ const bodyComponent = this._wrapChildren(children, {

})
const scrollElement = renderScrollComponent(scrollViewProps)
return (

@@ -144,2 +144,3 @@ <View

),
ListHeaderComponent: ListHeaderComponent ? foreground : renderEmpty()
},

@@ -146,0 +147,0 @@ foreground,

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