@nightmaregaurav/react-go-to-top-button
v1.0.4
Published
Simple React component to show a go-to-top button on bottom right of the page.
Downloads
46
Maintainers
Readme
Go To Top Button (React)
Description
React Go To Top Button is a simple and customizable go to top button for your react application.
Demo: CodeSandbox
Installation
Install react-go-to-top-button
npm install @nightmaregaurav/react-go-to-top-button
Usage
import React from 'react';
import GoToTopButton from "@nightmaregaurav/react-go-to-top-button";
const Index = () => {
return (
<GoToTopButton
backgroundColor={"#000"}
backgroundColorOnHover={"#333"}
arrowColor={"#fff"}
arrowColorOnHover={"#fff"}
/>
);
};
export default Index;
Technical Details
- Language: Typescript
How to Contribute
- Fork the repository
- Clone the forked repository
- Make changes
- Commit and push the changes
- Create a pull request
- Wait for the pull request to be merged
- Celebrate
- Repeat
If you are new to open source, you can read this to learn how to contribute to open source projects. If you are new to GitHub, you can read this to learn how to use GitHub. If you are new to Git, you can read this to learn how to use Git. If you are new to TypeScript, you can read this to learn how to use TypeScript.
License
React Go To Top Button is released under the MIT License. You can find the full license details in the LICENSE file.
Made with ❤️ by NightmareGaurav.