@nightmaregaurav/react-go-to-top-button
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Go To Top Button (React)

npm version HitCount
NPM


Description

React Go To Top Button is a simple and customizable go to top button for your react application.

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.


Open For Contribution

Package Sidebar

Install

npm i @nightmaregaurav/react-go-to-top-button

Weekly Downloads

307

Version

1.0.4

License

MIT

Unpacked Size

7.24 kB

Total Files

8

Last publish

Collaborators

  • gauravnightmare