nbcs-molecules
v0.1.71-alpha.1
Published
These should be second order components that make use of one or more atoms
Downloads
25
Readme
Molecules
These should be second order components that make use of one or more atoms
- Do we track these individually? Can we bundle them together import to export all?
Molecules are broken up into two parts
- Molecules
- Sub Molecules
Molecules components should be stored in the components/molecules/src
directory. If molecules need another component and it's not justifiable that the other component should be a molecule a sub molecule can be created and must be stored here components/molecules/src/components
. These sub components are not exportable (e.g. not able to be imported from Organisms), the purpose of this is to avoid unnecessary exports.
Storybook:
For a list of available molecules refer to the storybook under the Molecules
section.
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Run your unit tests
yarn test:unit
Lints and fixes files
yarn lint