import { jsx as _jsx } from "react/jsx-runtime";
import { Input } from '@citric/core';
export const IntField = ({ name, onChange, value, disabled, onBlur }) => (_jsx(Input, { type: "number", value: value, onChange: e => onChange(e.target.value ? parseInt(e.target.value) : undefined), name: name, disabled: disabled, onBlur: onBlur }));
//# sourceMappingURL=IntField.js.map