wp-form-render
TypeScript icon, indicating that this package has built-in type declarations

1.0.11-beta • Public • Published

如何使用

安装

npm i @xrenders/schema-builder

代码演示

/**
 * transform: true
 * defaultShowCode: true
 */
import React from 'react';
import SchemaBuilder from '@xrenders/schema-builder';

const defaultValue = {
  type: 'object',
  properties: {
    inputName: {
      title: '简单输入框',
      type: 'string',
    },
  },
};

const Demo = () => {
  return (
    <div style={{ height: '80vh' }}>
      <SchemaBuilder defaultValue={defaultValue} />
    </div>
  );
};

export default Demo;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11-beta10latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11-beta10
1.0.10-beta7
1.0.9-beta7
1.0.8-beta8
1.0.7-beta7
1.0.6-beta6
1.0.5-beta7
1.0.4-beta2
1.0.3-beta0
1.0.2-beta1
1.0.1-beta1
1.0.0-beta0
1.0.02

Package Sidebar

Install

npm i wp-form-render

Weekly Downloads

0

Version

1.0.11-beta

License

MIT

Unpacked Size

114 kB

Total Files

115

Last publish

Collaborators

  • wopuwulian