@mitcsutt/kiln-forms
Version:
Kiln forms: typed React forms on TanStack Form, in component or JSON schema mode, rendered through kiln-ui
22 lines (21 loc) • 699 B
JavaScript
import { FieldPresentation as e } from "../../fields/FieldPresentation/FieldPresentation.js";
import { FieldViewListBoundary as t } from "../../fields/FieldView/FieldView.js";
import { jsx as n } from "react/jsx-runtime";
import { Stack as r } from "@mitcsutt/kiln-ui";
//#region src/components/layouts/FormRows/FormRows.tsx
function i({ dividers: t = !0, gap: i = 4, children: a }) {
return /* @__PURE__ */ n(e, {
layout: "horizontal",
children: /* @__PURE__ */ n(r, {
dividers: t,
gap: i,
children: a
})
});
}
function a(e) {
return /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(i, { ...e }) });
}
//#endregion
export { a as FormRows };
//# sourceMappingURL=FormRows.js.map