@eforge/eforge-common
v1.0.7
Published
Common web controls used on the eForge websites
Readme
eForge Common Web Controls
This package contains some common web controls used on my various sites.
Table of Contents
Project Description
I, Louis, write a few small websites that I use personally. Anyone is welcome, but they are useful to me. In writing these, I noticed I kept writing the same components (i.e. a Loading Dialog), so I figured it was time to learn a little more about npm.
Installation
- Clone the repository:
git clone https://github.com/yourusername/yourproject.git- Install dependencies:
npm installUsage
Import any of the controls and let it rip!
<LoadingDialog open={isLoading}/>Features
Loading Dialog - simple control to open a modal dialog with a loading animation EforgeLink - A link, customized for eForge sites. MessageBannerContext - Adds a context for easy display of success, info, and error messages sites.
Contributing
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Make your changes.
- Push your branch:
git push origin feature-name. - Create a pull request.
License
All code is released under the ISC license, feel free to use as you wish.
