Inspired by react-scroll-up by milosjand, and react-burger-menu by negomi.
Too see the component
import React from "react";
import ScrollUpButton from "react-scroll-up-button";
export default class Index extends React.Component {
render() {
return (
<div>
<ScrollUpButton />
</div>
);
}
}