UNPKG

geostyler

Version:
29 lines (28 loc) 557 B
import { jsx as i } from "react/jsx-runtime"; import { NumberExpressionInput as l } from "../../../ExpressionInput/NumberExpressionInput/NumberExpressionInput.js"; const d = ({ onChange: a, value: m, ...e }) => { function t() { a(e.defaultValue ? Number(e.defaultValue) : void 0); } return /* @__PURE__ */ i( l, { className: "editor-field gamma-field", value: m, onChange: a, onCancel: t, inputProps: { ...e, min: 0, step: 0.1 } } ); }; export { d as GammaField };