Socket
Socket
Sign inDemoInstall

react-native-floating-view

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-floating-view

A classy scrollview that autohides elements


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
15.6 kB
Created
Weekly downloads
 

Readme

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

Last updated on 20 Oct 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc