Package Exports
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 (cmicons-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Basic Usage
Collection Open source Svg icons and generate React Vue component, now collect jamicons humbleicons
React
First, install cmicons-react
from npm:
npm install cmicons-react
Now each icon can be imported individually as a React component:
Jam icons
import { SearchIcon } from 'cmicons-react/jam'
function MyComponent() {
return (
<div>
<SearchIcon />
<p>...</p>
</div>
)
}
Humble icons
import { SearchIcon } from 'cmicons-react/humble'
function MyComponent() {
return (
<div>
<SearchIcon />
<p>...</p>
</div>
)
}
License
This library is MIT licensed.