UNPKG

@mitcsutt/kiln-forms

Version:

Kiln forms: typed React forms on TanStack Form, in component or JSON schema mode, rendered through kiln-ui

31 lines (30 loc) • 775 B
import { FieldViewListBoundary as e } from "../../fields/FieldView/FieldView.js"; import { jsx as t } from "react/jsx-runtime"; import { Grid as n } from "@mitcsutt/kiln-ui"; //#region src/components/layouts/FormGrid/FormGrid.tsx var r = { base: 1, md: 2 }; function i({ columns: e = r, gap: i = 5, rowGap: a, children: o }) { return /* @__PURE__ */ t(n, { columns: e, gap: i, rowGap: a, children: o }); } function a({ span: e, start: r, children: i }) { return /* @__PURE__ */ t(n.Item, { span: e, start: r, children: i }); } function o(n) { return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t(i, { ...n }) }); } var s = Object.assign(o, { Item: a }); //#endregion export { s as FormGrid, a as FormGridItem }; //# sourceMappingURL=FormGrid.js.map