Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add icon prop to Text element #104

Open
mnapthine opened this issue May 23, 2023 · 0 comments
Open

Add icon prop to Text element #104

mnapthine opened this issue May 23, 2023 · 0 comments
Labels
enhancement request New feature request

Comments

@mnapthine
Copy link
Collaborator

mnapthine commented May 23, 2023

I'm noticing a use case for icons within Text components. I propose an icon prop to be added to Text with a state of hasIcon which would switch to a flex layout and allow positioning of the icon.

This could also be handled with a set of util classes.

@mnapthine mnapthine added the enhancement request New feature request label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement request New feature request
Projects
Status: No status
Development

No branches or pull requests

1 participant