Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

react-ripples

1.1.2 • Public • Published

react-ripples

Installation

$ npm install --save react-ripples

or

$ yarn add react-ripples

Demo

Live Demo

Usage

import Ripples from 'react-ripples'
 
render() {
  <Ripples>
    <button>Ripple Button</button>
  </Ripples>
}

API

Props

static propTypes = {
  during: PropTypes.number,
  color: PropTypes.string,
}
 
static defaultProps = {
  during: 600,
  color: 'rgba(0, 0, 0, .3)',
}
Property Description
during The css animate duration [ms]
color The ripple's background color

install

npm i react-ripples

Downloadsweekly downloads

292

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability