Slice layouts are re-usable templates. A slice layout lays itself out according to a set of self-defined rules. The slice layout also provides a suggested default configuration that can be applied to the given components that are to be laid out within the template - this configuration is provided in the form of CSS class names and JS objects. The consumer of slice layout can opt-in or out of utilising these suggested default configurations
Please read CONTRIBUTING.md before contributing to this package
Please see our main README.md to get the project running locally
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint
This package uses yarn (latest) to run unit tests with jest.
yarn test:web
Visit the official storybook to see our available slice layout templates.
Template creation could be done using a CLI to create default files in the accepted architectural format