Closed Ibabalola closed 1 year ago
As a developer I want to be able use a PreformattedText component so that I can easily add a preformatted text element
PreformattedText
The component should contain:
dcx-pre
PreformattedText behind the scenes is a pre tag:
pre
<pre> Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks. </pre>
The final user will use in this way:
<PreformattedText class="">Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks.</PreformattedText>
and the outcome will be something like this:
Tasks:
Please follow the below to create your branch
git checkout release/0.8 git pull git checkout -b 'feature/pre'
closed by https://github.com/Capgemini/dcx-react-library/pull/511
As a developer I want to be able use a
PreformattedText
component so that I can easily add a preformatted text elementThe component should contain:
dcx-pre
PreformattedText behind the scenes is a
pre
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