Bear React IconSvg
This is the element using svg symbol as icon in React
Install
yarn add bear-react-iconsvg
Usage
you need bear-react-iconsvg, use rwd size setting, add custom icon component in your project, copy IconComponent files.
<Icon code="apple" color="#000" size={30}/>
<Icon code="android" color="green" size={30}/>
<Icon code="arrow-alt-right" color="primary" size={30}/>
<Icon code="arrow-right" color="secondary" size={30}/>
There is also a codesandbox template that you can fork and play with it:
Tools
bear-icon-symbols - svgs build icon-symbols
License
MIT © imagine10255