import { jsxDEV } from "react/jsx-dev-runtime";
import { FloatInput } from "@contember/ui";
import { useFieldControl } from "./useFieldControl.js";
import { SimpleRelativeSingleField } from "../auxiliary/SimpleRelativeSingleField/SimpleRelativeSingleField.js";
const parse = (value) => value ?? null;
const format = (value) => value ?? null;
const FloatField = SimpleRelativeSingleField(
  (fieldMetadata, props) => {
    const inputProps = useFieldControl({
      ...props,
      fieldMetadata,
      parse,
      format
    });
    return /* @__PURE__ */ jsxDEV(FloatInput, { ...inputProps }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/fields/FloatField.tsx",
      lineNumber: 29,
      columnNumber: 10
    }, globalThis);
  },
  "FloatField"
);
export {
  FloatField
};
//# sourceMappingURL=FloatField.js.map
