1.0.1 • Published 5 years ago

react-bell-icon v1.0.1

Weekly downloads
291
License
MIT
Repository
github
Last release
5 years ago

react-bell-icon npm npm

SVG bell icon for react with animations (2.71kB only)

Demo: https://gauravchl.github.io/react-bell-icon/demo/

Install:

npm install react-bell-icon

Use:

import BellIcon from 'react-bell-icon';

<BellIcon width='40' active={true} animate={true} />

Props:

PropsTypeDescription
widthstringwidth of bell icon, default is 40
heightstringheight of bell icon, default is 40
animationSpeedstringAnimation speed in seconds, default is 0.3
colorstringColor for icon, default is black(#000)
animatebooleanControl whether bell should animate or not, default value = false
activebooleanControl whether bell is active or not, default value = false
styleobjectFor inline style, applied to SVG tag