1.0.0 • Published 2 years ago

doodle-rotate-react v1.0.0

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

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago