1.0.0 • Published 3 years ago

doodle-rotate-react v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

rotate-react

Introduction

A react hook of rotating specified element

Version License

Install

Install rotate-react by using

  npm i doodle-rotate-react

or

  yarn add doodle-rotate-react

Usage

import useRotate from 'doodle-rotate-react'
....
const {target}  = useRotate()
return (
  <>
    ...
    <div ref= {target} className='specified'>
    </div>
    ...
  <>
)
1.0.0

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago