-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
new componentnew componentnew componenttypographyCreate components for typography e.g. titleCreate components for typography e.g. title
Milestone
Description
As a developer
I want to be able use a Paragraph component
so that I can easily add a paragraph
The component should contain:
- embedded className called
dcx-paragraph - relevant classes for shared / reusable styling
- the ability to specify the value of the label
- the ability to specify other props (...props)
Paragraph behind the scenes is a p tag:
<p>some text</p>The final user will use in this way:
<Paragraph className="paragraph" value="paragraph text" {...props}/>and the outcome will be something like this:
<p class="dcx-paragraph paragraph">paragraph text</p>Tasks:
- Add unit tests
- Add Application code with commented props
- Add the ability to specify other props (...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/paragraph'Metadata
Metadata
Assignees
Labels
new componentnew componentnew componenttypographyCreate components for typography e.g. titleCreate components for typography e.g. title