You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not aware this is valid. In the article he suggests <Icon name='camera' /> Could you provide some examples of components that have properties like this so I can understand how they work?
Anyhow, that was more to say that Octicons should be a component with a way of defining which specific Octicon to use. The approach you've followed from Nicolas Gallagher's article is great.
In use this might look like
<Icon alert />
.This article seems to provide a good approach: http://nicolasgallagher.com/making-svg-icon-libraries-for-react-apps/
The text was updated successfully, but these errors were encountered: