Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whyfail/react_scroll_bor
https://github.com/whyfail/react_scroll_bor
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/whyfail/react_scroll_bor
- Owner: whyfail
- Created: 2022-04-19T08:00:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-19T09:51:30.000Z (over 2 years ago)
- Last Synced: 2024-07-23T04:26:02.878Z (4 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 基于 React 的文字循环滚动效果组件
## 使用方式
```
import React from "react";
import ReactScrollBor from "./ReactScrollBor";const mostSpan = new Array(100).fill("测试数据");
export default function App() {
return (
{mostSpan.map((item, index) => {
return (
{item}
);
})}
);
}```