Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAccept Components, not strings for display text #93
Labels
Projects
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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).