Skip to content

BdeVallejo/react-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Index

  1. Intro

  2. Project Setup

  3. Usage

    1. Download
    2. Placeholders
    3. Built with
  4. Authors

  5. License

Intro

This project has been created as a reusable React library that can be easily customized and recreated in various kinds of projects.

It includes a variety of common-used templates, such as sliders, tabs, sidebars, galleries, navbars, etc. The main goal is to have a simple and useful repository that will be expanded with more features.

Project setup

This project was bootstrapped with Create React App. Please check link for more info.

To install dependencies:

npm install

Usage

Download

There are a few options:

You can clone the project, remove the parts that you don´t want to use, customize the ones that you want and import them into App.js.

To clone the project:

git clone https://github.com/BdeVallejo/react-library

You can also create your own React project with Create React App and then copy and paste the raw code of the components that you wish to use. Next to each component there a css folder with the specific css code.

Placeholders

In the folder /utils there is a file that contains all the texts and files used as placeholders. You can edit them to suit your needs.

Alternatively, all components that use those placeholders include a fetchText() function that you can use to fetch data from an API or similar.

A loading indicator has been added as well for this purpose.

Built With

  • React.js

Authors

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages