@heartlandone/banner-ui-react
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

Banner UI React

React specific wrapper for @heartlandone/banner-ui

To install banner-ui-react, you must ensure that the installed react version is as follows

"peerDependencies": {
    "react": ">=16.7.0",
    "react-dom": ">=16.7.0"
}

To install Banner UI using REACT, run the following command prompt in your terminal:

npm install @heartlandone/banner-ui-react

Usage

Include the follwing lines in your React file(s)

import { /** <Component> */ } from '@heartlandone/banner-ui-react';
import '@heartlandone/banner-ui/style/my-account-banner-components.css';

React Example Usage

import { MyAccountCompagin } from '@heartlandone/banner-ui-react';
//......
//......
render() {
    return (
        <MyAccountCompagin access-token="token content" env="DEV|STAGE|PROD"></MyAccountCompagin>
    );
}

/@heartlandone/banner-ui-react/

    Package Sidebar

    Install

    npm i @heartlandone/banner-ui-react

    Weekly Downloads

    5

    Version

    0.2.5

    License

    ISC

    Unpacked Size

    24.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • johnyyb
    • sam.lv1
    • janey.ding1
    • steve_liubo
    • aprilzhu
    • leonard_liutao
    • zheng.yuan-hps
    • wucao
    • yunhan_ehps