@jexo/pijen
v1.1.17
Published
React in-app notification component
Downloads
265
Keywords
Readme
@jexo/pijen
Pijen - In-App Notification React Component
Use this plug&play component to send release notification and product messages to your users in your app. Made to be used with Pijen Jira App as the messaging center, with Pijen for Jira you can create and manage multiple widgets and send messages to this widget.
Install
yarn add @jexo/pijen
Usage
import React, { Component } from 'react'
import Pijen from '@jexo/pijen'
import '@jexo/pijen/dist/index.css'
class Example extends Component {
render() {
return (
<Pijen authKey={AUTH_KEY} userKey={USER_KEY} headingText="What's new in our app?">
{({ openPijen, notificationCounter }) => (
<button onClick={openPijen}>
Pijen ({notificationCounter})
</button>
)}
</Pijen>
)
}
}
License
MIT © Jexo