@times-components/slice-layout
v0.52.0
Published
Slice layout
Downloads
5,749
Readme
Slice layout
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
Contributing
Please read CONTRIBUTING.md before contributing to this package
Running the code
Please see our main README.md to get the project running locally
Development
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint
Testing
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.
Future
Template creation could be done using a CLI to create default files in the accepted architectural format