bs-icon
v0.0.8
Published
Bootstrap icon
Downloads
88
Readme
bs-icon
Installation:
yarn add bs-icon
# Or
npm install bs-icon
Usage
Import the css file in your app (it uses bootstrap icons v1.10.3
)
import 'bs-icon/icons.css'
Use them anywhere:
import Icon from 'vs-icon'
export default function App(){
return (
<div>
<Icon name='alarm-fill'/>
</div>
)
}
The name
property accepts the name of the icon.