Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kibocommerce/devcenter-behavior-modal

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kibocommerce/devcenter-behavior-modal

This is a React component for use in Mozu.DevCenterUI to control the Kibo Application Behaviors

  • 0.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
2
Weekly downloads
 
Created
Source

This is a React component for use in Mozu.DevCenterUI to control the Kibo Application Behaviors

Usage in DevCenter

Component is published to NPM and loaded onto DevCenter using CDN unpkg.com

  1. Build component
npm run build
  1. Publish component
npm publish

Component Props

interface AppBehaviorModalProps {
  behaviorCategories: BehaviorCategory[]; // List of all Kibo Application behaviors
  selectedBehaviors: SelectedBehavior[]; // List of current behaviors for this application
  behaviorTemplates?: BehaviorTemplate[]; // List of Behavior pre-sets
  onBehaviorSave: (
    selectedBehaviors: SelectedBehavior[]
  ) => void; // Callback when modal save button is clicked
  onCancel?: () => void; // Callback when modal close button is clicked
}

Utils

Two helper methods are exported to the global window for use in Ext.JS

To Unmount and close the Modal

window['react-behavior-moda'].closeBehaviorModal()

To Mount and display the Component, pass component props to showBehaviorModal

window['react-behavior-moda'].showBehaviorModal(props)

FAQs

Package last updated on 14 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc