README
Mybring Icon System
How to use with a React app
Install @norwaypost/mybring-iconsystem
using npm or yarn.
import { ServiceIcon, Mybicon } from "@norwaypost/mybring-iconsystem";
<Mybicon name="mybicon-search" />
<Mybicon
name="mybicon-search"
className="optional-classname"
iconTitle="optional-title"
width="{16}"
height="{16}"
/>
<ServiceIcon name="serviceicon-building" />
<ServiceIcon
name="serviceicon-building"
className="optional-classname"
iconTitle="optional-title"
width="{48}"
height="{48}"
/>
Props:
The react component accepts the props name
, className
, iconTitle
, width
and height
. Only name
is required.