0.0.5 • Published 2 years ago

react-nipplejs v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago