brave-ui icon indicating copy to clipboard operation
brave-ui copied to clipboard

Accept Components, not strings for display text

Open petemill opened this issue 5 years ago • 0 comments

Anywhere we wish to show text, we should allow that text to have words that are emphasized or made bold.

Consider instead of just accepting simple strings that instead the Components accept either child components (preferrable), or a Component prop (in the case where children need to be positioned specifically).

petemill avatar Aug 23 '18 00:08 petemill