KeyFacts
An unordered list of textual content, Key Facts are used at the top or bottom of
an article, appearing with indented bullet points and an optional title. The
data is derived from an Abstract Syntax Tree ("AST"), comprised of nodes that
dictate text, links and styled elements.
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 on each
platform with jest.
yarn test:web
Visit the official
storybook
to see our available key facts templates.