A stateless header component, written in react, inline with atomic design principles
The component should be used whenever a header is needed, and passed the relevant properties for it to function and appear correctly in its context.
As an organism (see atomic design), it should be used as part of a template.
The header should be installed via npm, imported into you file/project and then used in situ
yarn add ar-organism-header
import header from 'ar-organism-header';
The component uses symantic versioning, with the intention of it being possible to use it in multiple places with the relevant feature for the context, and for developers to better reason if newer versions would break functionality.
Run the below commands to generate a development copy of the component and open it in a browser.
git clone email@example.com:gazzwi86/ar-organism-header.git yarn install yarn start
You can then begin editing the files in the
src directory. Once finished, update the examples in:
Running the below command will bump the version number. You should then commit and push your changes to the git repository.