React Scroll Rotate
这是一个根据页面滚动位置旋转元素的组件。
React Scroll Rotate是一个非常简单的React组件,能够根据页面滚动位置旋转元素。
Npm
npm i react-scroll-rotate
Yarn
yarn add react-scroll-rotate
import { ScrollRotate } from 'react-scroll-rotate'; <Title> // Styled component for example What <ScrollRotate>?</ScrollRotate> </Title>
giladk
相关项目