Class styles for display headings.
yarn add @gov.au/headings
npm install @gov.au/headings --save-dev
import AUheading from './headings.js';<AUheading ="xl" ="2">Display 2 on h2</AUheading>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
The visual test: https://uikit.apps.b.cld.gov.au/packages/headings/tests/site/
Copyright (c) Commonwealth of Australia. Licensed under MIT.