1.0.2 • Published 12 months ago

courses-app-ui-tools v1.0.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
12 months ago

Courses-App-UI-Tools is a collection of reusable components and hooks that provide a convenient way to enhance your projects.

  1. Components:
  • RatingStars A component for displaying a rating using a set of 5 stars. Use it by passing the rating value as a prop. Example usage:

  • BackButton A button component that navigates back to the homepage. Use it by simply adding to your code.

  • ToTopButton A button component that scrolls the user to the top of the page. Use it by adding to your code.

  • Loader A simple loader component. Use it by adding to your code.

  1. Hooks:
  • useLocalStorage A powerful tool for working with localStorage. Use it in your code to easily manage data in the browser's local storage.

  • useWindowSize A hook that provides the height and width parameters of the viewport. Use it to dynamically adjust your application based on the user's screen size.

To install the Courses-App-UI-Tools package, use the following command:

npm install courses-app-ui-tools

Once installed, you can import the components and hooks from the package and start using them in your project.