0.1.0 • Published 1 year ago

useful-react-components v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

useful-react-components

The ScrollUp component is a reusable React component that provides a convenient and easy-to-use method for quickly scrolling to the top of the page. This component is ideal for use in applications where users may need to navigate to different parts of the page, but also require the ability to easily return to the top.

Installation

To use the ScrollUp component in your React application, simply install the component via npm using the following command:

npm install useful-react-components

Once installed, you can import the component into your application and use it as follows:

Usage

import React from 'react';
import ScrollUp from 'useful-react-components';

function App() {
  return (
    <div>
      <ScrollUp>Click me!</ScrollUp>
    </div>
  );
}

export default App;
0.1.0

1 year ago