npm install react-totopbutton --save
var React = require('react');
var ReactDOM = require('react-dom');
var ToTopButton = require('react-totopbutton');
ReactDOM.render(
<ToTopButton/>,
document.getElementById('container')
);
npm install react-totopbutton --save
var React = require('react');
var ReactDOM = require('react-dom');
var ToTopButton = require('react-totopbutton');
ReactDOM.render(
<ToTopButton/>,
document.getElementById('container')
);