blog / components /AOSAnimation.js
sandy-try's picture
Upload 699 files
1b72d7e verified
raw
history blame contribute delete
214 Bytes
import AOS from 'aos'
import { isBrowser } from 'react-notion-x'
/**
* 加载滚动动画
* https://michalsnik.github.io/aos/
*/
export default function AOSAnimation() {
if (isBrowser) {
AOS.init()
}
}