import { createElement } from "react";
import { ErrorList } from "@contember/ui";
import { useAccessorErrors } from "./useAccessorErrors.js";
function AccessorErrors({ accessor, ...errorListProps }) {
  return /* @__PURE__ */ createElement(ErrorList, {
    ...errorListProps,
    errors: useAccessorErrors(accessor)
  });
}
export { AccessorErrors };
//# sourceMappingURL=AccessorErrors.js.map
