Capgemini / dcx-react-library

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

Code snippet #500

Closed Ibabalola closed 1 year ago

Ibabalola commented 1 year ago

As a developer I want to be able use a Code component so that I can easily add code snippets

The component should contain:

Code snippet behind the scenes is a code tag:

<code>code</code>

The final user will use in this way:

<CodeSnippet>my code</CodeSnippet>

and the outcome will be something like this:

<code>code</code>

Tasks:

Please follow the below to create your branch

git checkout release/0.8
git pull
git checkout -b 'feature/code'
daniele-zurico commented 1 year ago

closed by https://github.com/Capgemini/dcx-react-library/pull/507