UNPKG

react-forminate

Version:

React.js + Typescript package that creates dynamic UI forms based on the JSON schema

2 lines (1 loc) 389 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-BHL74Jf6.cjs"),n=require("react"),l=({as:e="div",fieldId:t,width:r="100%",height:i=16,className:s="",styles:d={},children:a,...c})=>o.jsxRuntimeExports.jsx(e,{"data-testid":"spacer-field",id:t,className:s,style:{width:r,height:i,...d},...c,children:a}),u=n.memo(l);exports.default=u;