@hessler/lc-component-library-io
v0.3.6
Published
Repository for the custom, shared library for the Life.Church Interactive Web Services team.
Downloads
98
Maintainers
Readme
Life.Church Web Services Web Tools Library
Repository for the custom, shared library for the Life.Church Interactive Web Services team.
Set Up and Use the Library
Installation
To install and get set up in your React project, run the following command in the project's main directory:
npm i @hessler/lc-component-library-io
Using a Component
To use a component in your project, simply import the necessary component(s) and supporting objects (as needed) and add to your React project like any other component.
import {
ButtonItem,
ButtonSizes,
ButtonVariants,
} from "@hessler/lc-component-library-io/dist/components/global";
<ButtonItem
className="my-button-class-name"
onClick={() => {
/* Do something. */
}}
size={ButtonSizes.medium}
variant={ButtonVariants.primary}
>
Primary Button Example
</ButtonItem>;
References
- Repository: https://github.com/hessler/lc-component-library-io.git
- Home Page: https://github.com/hessler/lc-component-library-io
- NPM Page: https://www.npmjs.com/package/@hessler/lc-component-library-io
- Life.Church: https://life.church/
Contributors
(Made with contrib.rocks.)