Icons
The icons component can be used to provide icons.
Important
you have to link font awesome -- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" in your project of you use Icon Component
Usage
import React from 'react'
import { Icons } from 'qdm-component-library'
function App() {
return <Icons fontIcon="adjust" />
}
export default App
Reference
Props
fontIcon
props for providing icon classname string
inLineStyles
props give addition props to the ButtonGroup element type Object
className
props for adding classname string
ariaHidden
default is true true or false
size
props for adding different sizes to icons,default is small small|medium|large