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

@logicflow/react-node-registry

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logicflow/react-node-registry

LogicFlow React Shape

  • 1.0.11
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-18.92%
Maintainers
0
Weekly downloads
 
Created
Source

@logicflow/react-node-registry

LogicFlow Shape for rendering React components.

Installation

npm install @logicflow/react-node-registry

or

yarn add @logicflow/react-node-registry

or

pnpm add @logicflow/react-node-registry

Usage

用户自定义 React 节点 CustomReactComp

我们需要将该内容注册到某个地方

  1. 如果基于默认的 HTML 节点,只是调整节点里面的内容,
register({
  type: 'custom-react-shape',
  view: ReactComponent,
  model: ReactNodeModel,
}, lf)
  1. 注册节点
  2. view 为 React 组件(基于 HTMLNode 自定义)
  3. model 为节点数据模型

Keywords

FAQs

Package last updated on 12 Dec 2024

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