ark-plumbing-react-toolbox
v0.16.0
Published
Build Status:
Downloads
5
Readme
Ark Plumbing React Toolbox
Build Status:
NPM Version:
Introduction
This toolbox acts as a React.js framework for all Ark Plumbing websites. Its an easy way to share components across the estate and makes them so much more manageable. The styles used are from the Ark Plumbing Sass repository.
Usage
Consuming a component is simple. When developing a component, it is added to a distribution folder. For each component there is a .js
file and a .css
file. You can import these as you may but as long as they are both imported, the component will work as expected.
For example:
JS Import:
import Footer from 'ark-plumbing-react-toolbox/dist/footer';
CSS Import:
@import '../../../../node_modules/ark-plumbing-react-toolbox/dist/Footer.css';
Components
Below is a list of all the components included thus far: