UNPKG

geostyler

Version:
28 lines (27 loc) 539 B
import { jsx as o } from "react/jsx-runtime"; import { NumberExpressionInput as r } from "../../../ExpressionInput/NumberExpressionInput/NumberExpressionInput.js"; const s = ({ onChange: i, value: t, ...e }) => { function l() { i(e.defaultValue ? Number(e.defaultValue) : void 0); } return /* @__PURE__ */ o( r, { className: "editor-field size-field", value: t, onChange: i, onCancel: l, inputProps: { ...e, step: 0.1 } } ); }; export { s as SizeField };