Closed Ibabalola closed 1 year ago
As a developer I want to be able use a Paragraph component so that I can easily add a paragraph
Paragraph
The component should contain:
dcx-paragraph
[x] the ability to specify other props (...props)
Paragraph behind the scenes is a p tag:
p
<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:
Please follow the below to create your branch
git checkout release/0.8 git pull git checkout -b 'feature/paragraph'
closed by https://github.com/Capgemini/dcx-react-library/pull/479
As a developer I want to be able use a
Paragraph
component so that I can easily add a paragraphThe component should contain:
dcx-paragraph
[x] the ability to specify other props (...props)
Paragraph behind the scenes is a
p
tag:The final user will use in this way:
and the outcome will be something like this:
Tasks:
Please follow the below to create your branch