1.0.12 • Published 10 months ago

xr-schema-builder v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

如何使用

安装

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;
1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

1.0.0-alpha.18

11 months ago