📜  如何添加反应滚动可滚动链接 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:23.596000             🧑  作者: Mango

代码示例1
// To scroll down to your anchor tags, you need to install
// React Router Hash Link, with:

npm install --save react-router-hash-link

//then import Hash Link:
import { HashLink as Link } from 'react-router-hash-link';

//then use Hash Link, for example.

Your link text