1.0.5 • Published 2 years ago
cmicons-react v1.0.5
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.