Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 949 Bytes

README.md

File metadata and controls

56 lines (41 loc) · 949 Bytes

react-z-pull-down

npm version

A simple react pull down component

Install

yarn add react-z-pull-down

Use

import PullDown from 'react-z-pull-down'
import ReactDOM from 'react-dom'
import React, { Component } from 'react'

class TestComponent extends Component {
  render() {
    return (
      <div>
        <PullDown />
        <div>You can pull me down!</div>
      </div>
    )
  }
}

ReactDOM.render(<TestComponent />, document.getElementById('root'))

Development

yarn
yarn run dev

Test

yarn run test

Build

yarn
yarn run build

Publish

npm login
npm version patch
git add -A
git push origin master
npm publish

License

MIT