UNPKG

geostyler

Version:
29 lines (28 loc) 570 B
import { jsx as a } from "react/jsx-runtime"; import { NumberExpressionInput as r } from "../../../ExpressionInput/NumberExpressionInput/NumberExpressionInput.js"; const f = ({ onChange: t, value: i, ...e }) => { function o() { t(e.defaultValue ? Number(e.defaultValue) : void 0); } return /* @__PURE__ */ a( r, { className: "editor-field fadeDuration-field", value: i, onChange: t, onCancel: o, inputProps: { ...e, min: 0, step: 10 } } ); }; export { f as FadeDurationField };