import {
  Flex
} from "./chunk-25HMMI7R.js";
import {
  Typo
} from "./chunk-PARGQUJB.js";

// src/atoms/field-error-wrapper.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function FieldErrorWrapper({
  children,
  error
}) {
  return /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "1", children: [
    children,
    error ? /* @__PURE__ */ jsx(Typo, { color: "red", variant: "caption", children: error }) : null
  ] });
}

export {
  FieldErrorWrapper
};
//# sourceMappingURL=chunk-M2SQB6ZY.js.map