Socket
Socket
Sign inDemoInstall

react-dribble-button

Package Overview
Dependencies
27
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-dribble-button

The Button component with pretty nice hive and click effects


Version published
Weekly downloads
15
increased by200%
Maintainers
1
Install size
35.7 MB
Created
Weekly downloads
 

Readme

Source

react-dribble-button

The Button component with pretty nice hive and click effects

Installation

$ npm install react-dribble-button

Demo

Try it out

| | |

Basic Usage

import DribbleButton from 'react-dribble-button';

// Inside of a component's render() method:
render() {
  return (
    <DribbleButton color="deep-orange" onClick={this.onClick} animationDuration={1000} >
      Try this cool color!
    </DribbleButton>
  );
}

Examples

Please clone the repo and run npm run storybook or yarn storybook to show examples of usages.

Usage (API)

The DribbleButton component has a few properties, as described below.

PropertyTypeDefautDescription
colorstringdefaultThe color theme. Should be one of the folowing strings: 'red'
onClickfunctionnullClick handler.
childrenanynullChildren element.
classNamestring''Class name of the component.
componentstring or ComponentbuttonComponent type.
effectClassNamestring''Class name of the effect component.
animationDurationnumber650The dribble animation duration in ms.

Contributing

I welcome contributions! Please open an issue if you have any feature ideas or find any bugs. I also accept pull requests with open arms. I will go over the issues when I have time. :)

Keywords

FAQs

Last updated on 06 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