Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 419 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 419 Bytes

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.