1.1.8 • Published 5 years ago
@achiga/notifications v1.1.8
@achiga/notifications
Install
npm install @achiga/notificationsUsage
To use this module, pass in a data object for styles and notification data
Styles structure:
{
button: {
backgroundColor: '',
color: ''
},
headline: {
color: ''
},
body: {
color: ''
},
icon: {
fill: ''
}
}Additions 1.1.0 -
This package now accepts a boolean from the parent to detect if the mouse has left the browser(required)
Accepts an optional pageUrl param that will trigger a re-render when the route is changedExample
import AchigaNotifications from '@achiga/notifications'
class Example extends Component {
render () {
return (
<AchigaNotifications cursorLeftPage={bool} pageUrl={pageUrl} data={notificationData} styles={styles} />
)
}
}License
This project is licensed under the terms of the MIT license.
1.1.9
3 years ago
1.1.8
5 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.1
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.0
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago