Neophobe Plebeian Mumpsimus

    @wecity/form-render-react
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.9 • Public • Published

    form-render-react

    提供 form-render 组件,用于移动端动态渲染表单

    Usage

    #构建项目
    yarn build #用于构建form-render的包
    yarn build-site #用于构建手机版预览living站点
    
    #启动项目,用户测试form-render例子
    yarn serve
    
    #启动项目,用户测试构建手机版预览living站点
    yarn dev
    
    import React from 'react'
    import { setup } from '@wecity/formily-react-weui'
    import { FormRender } from '@wecity/form-render-react'
    const schema = {
      // ...
    }
    function App() {
      setup() // 注册所有组件
      return <FormRender schema={schema} />
    }
    
    export default App
    

    Keywords

    none

    Install

    npm i @wecity/form-render-react

    DownloadsWeekly Downloads

    8

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    268 kB

    Total Files

    58

    Last publish

    Collaborators

    • zystylish
    • brian_zhang
    • legendlu
    • fenfeizeng
    • colinczhu
    • easonruan
    • yikazhu
    • daniel-dx
    • domy
    • delenzhang
    • vickiliang
    • derrickliu
    • xiaoyaojones
    • smileswlin
    • jillysong
    • allennzhang
    • sharryliao
    • pechelhuang
    • phspan