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 component #32

Open
tchock opened this issue Feb 24, 2021 · 0 comments
Open

Add Icon component #32

tchock opened this issue Feb 24, 2021 · 0 comments
Labels

Comments

@tchock
Copy link
Member

tchock commented Feb 24, 2021

Using icons currently is a bit of a mess. Some places enforce the right size, but using icons standalone often needs configuration (depending on the iconset).

This new Icon component helps with this. It forces the right sizes and also makes it easy to color the icons.

It should have the following props:

prop type description
size 'small' | 'medium' | 'large' Enforces themewide sizes to the icon
color string Path to color to use for the icon, default common.black
icon ReactNode | ReactElement Icon component or element of icon component
@tchock tchock added the feature label Feb 24, 2021
@tchock tchock changed the title Add Icon component Add Icon component Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant