Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
113 stars 7 forks source link

Heading #449

Closed Ibabalola closed 1 year ago

Ibabalola commented 1 year ago

As a developer I want to be able use a Heading component so that I can easily add a heading of various levels

Component should contain relevant classes for shared / resuable styling

The component should contain:

The final user will use in this way:

<Heading className="heading" label="heading text"/>

Tasks:

for example

<Heading level="1">
  Heading text
</Heading>

Important: please use release/{milestone} as base branch