Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Paragraph #455

Closed
10 tasks done
Ibabalola opened this issue Mar 25, 2023 · 1 comment
Closed
10 tasks done

Paragraph #455

Ibabalola opened this issue Mar 25, 2023 · 1 comment
Assignees
Labels
new component new component typography Create components for typography e.g. title
Milestone

Comments

@Ibabalola
Copy link
Contributor

Ibabalola commented Mar 25, 2023

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'
@Ibabalola Ibabalola added the typography Create components for typography e.g. title label Mar 25, 2023
@daniele-zurico daniele-zurico added the new component new component label Mar 27, 2023
@daniele-zurico daniele-zurico added this to the 0.8 milestone Mar 30, 2023
@yunusfirat yunusfirat self-assigned this May 5, 2023
@daniele-zurico
Copy link
Contributor

closed by #479

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
new component new component typography Create components for typography e.g. title
Projects
None yet
Development

No branches or pull requests

3 participants