@zanichelli/delta_share
v4.1.0
Published
This repo contains react component `<LicenseActivation />` used in myzanichelli dashboard
Maintainers
Keywords
Readme
Delta Share License Activation
This repo contains react component <LicenseActivation /> used in myzanichelli dashboard
Install
yarn && yarn inst
Develop
This repo is based on web-components technology (StencilJS)
in components-library folder you can find source code.
Run yarn start or yarn build in that folder
Build.
yarn build
Release
yarn release
Usage
install the package from npm registry:
npm install @zanichelli/delta_share or
yarn add @zanichelli/delta_share
then you can use the component like this:
import { LicenseActivation } from '@zanichelli/delta_share'
[...]
<LicenseActivation
componentid="license-activation-box"
variant="box|modal"
modalState="open|closed"
inputLabel="my input label"
buttonLabel="my button label"
inputMessage="my message"
inputPlaceholder="my placeholder"
enableButton
forceModal
onLicenseModalState={(e: CustomEvent) => this.handleLicenseModalState(e)}
onLicenseStatusChange={(e: CustomEvent) => this.handleLicenseStatusChange(e)}
env={env}
/>
NB: env prop can be local, devmy, testmy, demomy or prod
Please refer to license-activation component readme for properties and events documentation
