Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 493 Bytes

highlighter.md

File metadata and controls

22 lines (16 loc) · 493 Bytes

Common/Highlighter

Highlights a word or phrase.

Highlighter example

<Highlighter highlight="feedback">
    Android feedback (Support)
</Highlighter>

Props

highlight={string}
The word or phrase to highlight in the children.

element={string}
The HTML element used to wrap the highlighted phrase. Uses the "i" italics tag by default.

CSS

Wraps the highlight phrase with the dp-highlighted class.