UNPKG

react-forminate

Version:

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

30 lines (29 loc) 454 B
import { j as m } from "./index-BPZpMa2Y.js"; import p from "react"; const c = ({ as: e = "div", fieldId: t, width: r = "100%", height: s = 16, className: a = "", styles: i = {}, children: o, ...d }) => /* @__PURE__ */ m.jsx( e, { "data-testid": "spacer-field", id: t, className: a, style: { width: r, height: s, ...i }, ...d, children: o } ), n = p.memo(c); export { n as default };