rajac-renderengine
v0.1.5
Published
A React JSON-driven render engine for dynamic UI and form composition from JSON config
Downloads
720
Maintainers
Readme
Renger Engine
A React JSON-configured render engine and form renderer.
Package entry
main: dist/index.cjsmodule: dist/index.mjstypes: dist/index.d.ts
Build and publish
pnpm installpnpm buildpnpm publish --access public
Usage
import { RenderEngine, FormRenderEngine, ComponentConfig } from 'renger-engine';
const config: ComponentConfig[] = [
{
componentType: 'div',
props: { className: 'p-4' },
children: [
{ componentType: 'input', props: { name: 'email', label: 'Email' } },
],
},
];
<RenderEngine config={config} />