New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-floating-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

react-native-floating-view

A classy scrollview that autohides elements

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-floating-view

An easy way to add a view that autohides while scrolling

mediac

##Installation npm i react-native-floating-view --save

##Usage##

// Require the module
import FloatingScrollView from 'react-native-floating-view';

  render() {
    return (
      <FloatingScrollView
        ref='_floatingScrollView'
        childrenStyles={styles.containerStyles}
        bottom={30}
        height={54}
        offset={50}
        floatingView={this.getFloatingButton()}
      >
        <View />
      </FloatingScrollView>
    );
  }

##Props##

PropTypeOptionalDefaultDescription
childrenStylesstyleYesOverride the styles of the animated view container
bottomnumberYesSpace from the bottom of the view
heightnumberYesHeight of the floating view
floatingViewnodeNoThe view you want to autohide

##Example## Refer to the example folder to find an implementation of this project

Keywords

FAQs

Package last updated on 20 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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