@zanichelli/delta_share
v5.4.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
npm install && npm run inst
Develop
This repo is based on web-components technology (StencilJS)
in components-library folder you can find source code.
Run npm run start or npm run build in that folder
Build.
npm run build
Release
npm run 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
