Skip to content

简单的自定义滚动实现,封装成了react hooks

Notifications You must be signed in to change notification settings

GuangMingZ/simple-custom-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

自定义滚动hooks

安装依赖

yarn 
or npm install

本地启动

yarn start

本地编译

yarn build

目录结构

|-- src
   |-- hooks
       |-- seHorizontalScroll.ts 水平滚动hooks
       |-- useVerticalScroll.ts 垂直滚动hooks
   |-- imgs 示例图片
   |-- App.js react应用入口
   |-- App.less 主样式文件
   |-- index.js main入口文件

示例

avatar avatar

About

简单的自定义滚动实现,封装成了react hooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published