import React from "react";
import { Label, Input } from "@equinor/eds-core-react";
const NumericInput = React.memo(({ label, value, onChange }) => {
    return (React.createElement("div", { style: {
            display: "flex",
            justifyContent: "space-between",
        } },
        React.createElement(Label, { label: label, id: `${label}-input-label`, style: {
                paddingTop: 5,
                paddingBottom: 5,
                fontSize: 15,
            } }),
        React.createElement(Input, { id: `${label}-input`, type: "number", value: value, onChange: onChange, min: 0, style: {
                fontSize: 15,
                textAlign: "right",
                width: "3rem",
            } })));
});
NumericInput.displayName = "NumericInput";
export default NumericInput;
//# sourceMappingURL=NumericInput.js.map