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

@mybricks/render-web

Package Overview
Dependencies
Maintainers
5
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mybricks/render-web

Render for web projects

  • 1.0.15-beta1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

Mybricks web渲染器

import {render} from 'react-dom'
import {render as renderUI} from '@mybricks/render-web'


render(<Page/>, document.querySelector('#root'))

function Page() {
 return (
         <div>
          {
           renderUI({
            json: json,//设计器toJSON结果
            env: {//配置组件运行的各类环境信息
             i18n(text) {//多语言
              return text
             }
            }
           })
          }
         </div>
 )
}

FAQs

Package last updated on 10 Nov 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