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

feat(typings): add icon names for Icon #2167

Merged
merged 4 commits into from Oct 9, 2017
Merged

feat(typings): add icon names for Icon #2167

merged 4 commits into from Oct 9, 2017

Conversation

ghost
Copy link

@ghost ghost commented Oct 4, 2017

No description provided.

@layershifter layershifter changed the title fix(typings): Added icon names for IconProp name prop feat(typings): add icon names for Icon Oct 5, 2017
Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincealdrin Thanks for PR, I left only one comment about naming.

In fact, this will not cover all possible values. Typings allow mail outline while outline mail is also valid. But, I'm sure that we don't need to cover these cases.

@@ -45,7 +45,7 @@ export interface IconProps {
loading?: boolean;

/** Name of the icon. */
name?: string;
name?: SemanticICONNAMES;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename it to SemanticICONS? It will have more parity with SemanticCOLORS, SemanticWIDTHS, etc.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah sure

@codecov-io
Copy link

codecov-io commented Oct 5, 2017

Codecov Report

Merging #2167 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2167   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files         151      151           
  Lines        2606     2606           
=======================================
  Hits         2600     2600           
  Misses          6        6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee931d2...3153294. Read the comment docs.

@layershifter layershifter merged commit e1b0e91 into Semantic-Org:master Oct 9, 2017
@levithomason
Copy link
Member

Released in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants