-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update/add Warning, Info, Check, Cross, TableConfig icons #241
Conversation
@@ -15,6 +15,12 @@ const InfoIcon = React.createClass({ | |||
...Icon.propTypes, | |||
}, | |||
|
|||
getDefaultProps() { | |||
return { | |||
viewBox: '-23.5 0.5 16 16', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave this out and modify the rects a little bit:
<rect x="7" y="3" width="2" height="2"></rect>
<rect x="7" y="6" width="2" height="7"></rect>
…lt props from Chevron, Info, TableConfig, and Warning icons
{...passThroughs} | ||
className={boundClassNames('&', className)} | ||
> | ||
<rect className={boundClassNames('&-background')} x='1' y='4' width='13' height='8'/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation looks funky here
I think the icon name should be more about what it renders than what it might be used for: |
Makes sense, changing. Also fixing indentation. |
PR Checklist
common
at minimum)semver-
labels