Package Exports
- ui-svg-icons
- ui-svg-icons/dist/24px
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ui-svg-icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ui-svg-icons
Use the eagle - UI and UNicon - SVG ICONS of the UI
Examples
var React = require('react'),
var icon = require('ui-svg-icons');
var SvgIcon = icon.s;
var Main = React.createClass({
render : function(){
return (
<div>
<SvgIcon name={'close'} style={{fill:'red'}}/>
</div>
);
}
});
React.render(<Main/>, document.getElementById("app"));