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

Highlight #498

Closed
6 of 10 tasks
Ibabalola opened this issue May 18, 2023 · 1 comment
Closed
6 of 10 tasks

Highlight #498

Ibabalola opened this issue May 18, 2023 · 1 comment
Assignees
Labels
typography Create components for typography e.g. title
Milestone

Comments

@Ibabalola
Copy link
Contributor

Ibabalola commented May 18, 2023

As a developer
I want to be able use a Highlight component
so that I can easily add a highlight

The component should contain:

  • embedded className called dcx-highlight
  • relevant classes for shared / reusable styling
  • the ability to specify the value of the label
  • the ability to specify other props (...props)

Highlight behind the scenes is a mark tag:

<mark>highlight</mark>

The final user will use in this way:

<Highlight>highlight</Highlight>

and the outcome will be something like this:

<mark>highlight</mark>

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/highlight'
@Ibabalola Ibabalola added the typography Create components for typography e.g. title label May 18, 2023
@Ahmet-K Ahmet-K self-assigned this May 25, 2023
@Ahmet-K Ahmet-K mentioned this issue Jun 5, 2023
6 tasks
@daniele-zurico daniele-zurico added this to the 0.8 milestone Jun 12, 2023
@daniele-zurico
Copy link
Contributor

closed by #509

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

No branches or pull requests

3 participants