2.0.0 • Published 5 years ago
go-top-button-component v2.0.0
Go to Top Button
Simple go to top button, with style config
Installation
npm install gototopbutton
Usage
import GoToTopButton
<GoToTopButtom
width={'50px'} #set width
right={'1px'} #set right position
bottom={'1px'} #set bottom position
onFocus={''} #not used
marginRight={'40px'} #set margin (if you want)
backgroundColor={'#63a8e9'} #set backgroundcolor
height={'50px'} #set height
onMouseOver={'white'} #set color on hover
onMouseUp={'white'} #set color when not hover it
buttonAppearAt={200} #set the height you want the button appear
/>