Notifications library that disguises itself in your application 🥷😶🌫️
Check out the storybook with some examples
- Adaptable - generates the perfect background color based on the selected harmony
- Customizable - use the generated colors or pass your own
- Easy to use
- Lightweight
npm install camo-notifications
function Example() {
const [isOpen, setIsOpen] = useState(false)
return (
<div>
<button type='button' onClick={() => {setIsOpen(!isOpen)}}>
toggle
</button>
<Notification
id='example'
notificationType={NotificationType.COOKIE}
isOpen={isOpen}
onClose={toggle}
content='Lorem ipsum dolor sit amet, consectetur adipiscing elit' />
</div>
)
}