0.5.1 • Published 3 years ago
@wepsysrd/json-form v0.5.1
@wepsysrd/json-form
React json-schema v7 form builder
Install
npm install --save @wepsysrd/json-form
Usage
import React from 'react'
import JsonForm from '@wepsysrd/json-form'
function App() {
const schema = {
customSchema: {},
jsonSchema: {
title: 'Reserva tus Vacaciones',
type: 'object',
properties: {
fechaInicio: {
title: 'Fecha Inicio',
type: 'string',
format: 'date',
formatMinimum: '2020-01-01'
}
}
},
uiSchema: {}
}
return <JsonForm formSchema={schema} />
}
License
GPL © josbelluna