0.0.5 • Published 12 months ago

react-nipplejs v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

react-nipplejs

Nipplejs component built with React

import Nipple from 'react-nipplejs';

// If you use CommonJS syntax:
// cost Nipple = require('react-nipplejs').default;

React.renderComponent(
  <div>
    <Nipple />
  </div>,
);

Install

npm install react-nipplejs

yarn react-nipplejs

Demo

Demo & Documentation

Props

proptypedescription
optionsObjectoptions
onStartfuncstart
onMovefuncmove
onEndfuncend
onDirfuncdir
onPlainfuncplain
onShownfuncshown
onHiddenfunchidden
onPressurefuncpressure

Apart from these, the component accepts all props that are accepted by <div/>, like style, className, etc.

Github repo

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago

1.0.2

12 months ago

1.0.0

12 months ago