geostyler
Version:
Framework for styling geodata
34 lines (33 loc) • 725 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
/* empty css */
import { Modal as n } from "antd";
import { RuleGenerator as a } from "./RuleGenerator.js";
import { useGeoStylerLocale as i } from "../../context/GeoStylerContext/GeoStylerContext.js";
const f = ({
onClose: r,
onRulesChange: o,
...t
}) => {
const l = i("RuleGeneratorWindow");
return /* @__PURE__ */ e(
n,
{
className: "rule-generator-window",
title: l.ruleGenerator,
onCancel: r,
width: 800,
footer: !1,
centered: !0,
...t,
children: /* @__PURE__ */ e(
a,
{
onRulesChange: o
}
)
}
);
};
export {
f as RuleGeneratorWindow
};