@jexo/pijen

1.1.17 • Public • Published

@jexo/pijen

NPM JavaScript Style Guide

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

/@jexo/pijen/

    Package Sidebar

    Install

    npm i @jexo/pijen

    Weekly Downloads

    69

    Version

    1.1.17

    License

    MIT

    Unpacked Size

    223 kB

    Total Files

    7

    Last publish

    Collaborators

    • helderalves-appfire
    • murthy_appfire
    • valter.junior
    • leonunes
    • rafael-sousa-jexo
    • birox