Socket
Socket
Sign inDemoInstall

react-float-button

Package Overview
Dependencies
20
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-float-button

Floating button component for react


Version published
Weekly downloads
11
decreased by-31.25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

NPM

react-float-button

react-float-button is a stuff make your button float.

Demo

Alt Text

How to use

npm i react-float-button --save
import FloatGroup from 'react-float-button';

<FloatGroup style={{ margin: '0 10px' }} margin={80} delay={0.02}>
    <Button>You can put any children under FloatGroup</Button>
    <Button>Hello, world!</Button>
</FloatGroup>

API

NameTypeDefaultDescription
marginnumber50The margin between each children
styleobject{}Simple style
delaynumber0.03Transition delay of each child

FAQs

Last updated on 07 Nov 2017

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