ipad cursor
1.0.0
git clone https://github.com/sambernhardt/ipad-cursor.git
npm i
npm run start

// app.js
import App from 'next/app' ;
import CursorProvider from '../cursor/Provider' ;
export default class MyApp extends App {
render ( ) {
const { Component , pageProps } = this . props ;
return (
< CursorProvider >
< Component { ... pageProps } />
</ CursorProvider >
)
}
} WithHover 기능으로 랩핑하십시오 // Component.js
import WithHover from '../cursor/WithHover' ;
const Component = ( ) => < h1 > ;
export default WithHover( < Component /> , 'block');inline-block 또는 block 있어야합니다. CSS 변환은 인라인 요소에서 작동하지 않습니다.