You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
659 B

import React from 'react';
import ScrollLink from 'rc-scroll-anim/lib/ScrollLink';
import scrollScreen from 'rc-scroll-anim/lib/ScrollScreen';
export default class Link extends React.Component {
componentDidMount() {
scrollScreen.init({ docHeight: 4746 });
}
render() {
return (
<div id="list">
<ScrollLink className="list-point" location="banner" />
<ScrollLink className="list-point" location="page1" />
<ScrollLink className="list-point" location="page2" />
<ScrollLink className="list-point" location="page3" />
<ScrollLink className="list-point" location="page4" />
</div>
);
}
}