Skip to content

Label #451

@Ibabalola

Description

@Ibabalola

As a developer
I want to be able use a Label component
so that I can easily add a label

Component should contain relevant classes for shared / resuable styling

The component should contain:

  • embedded className called dcx-label
  • relevant classes for shared / reusable styling
  • the ability to specify the value of the label
  • Add the ability to specify other props (...props)

The final user will use in this way:

<Label className="additional classes" value="text" id="user-defined-id" />

Tasks:

  • Add unit tests
  • Add Application code with commented props
  • Add Demo use of component
  • Add to storybook documentation file with examples (.mdx) in a section called Typography
  • Add to live demo

Please follow the below to create your branch

git checkout release/0.8
git pull
git checkout -b 'feature/label'

Metadata

Metadata

Assignees

Labels

new componentnew componenttypographyCreate components for typography e.g. title

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions