geostyler
Version:
Framework for styling geodata
38 lines (37 loc) • 835 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { Modal as i } from "antd";
import { IconSelector as m } from "../IconSelector/IconSelector.js";
/* empty css */
import { useGeoStylerLocale as a } from "../../../context/GeoStylerContext/GeoStylerContext.js";
const S = ({
iconLibraries: e,
selectedIconSrc: r,
onIconSelect: t,
onClose: c,
...l
}) => {
const n = a("IconSelectorWindow");
return /* @__PURE__ */ o(
i,
{
className: "gs-icon-selector-portal",
title: n.windowLabel,
onCancel: c,
width: 700,
footer: !1,
centered: !0,
...l,
children: /* @__PURE__ */ o(
m,
{
iconLibraries: e,
onIconSelect: t,
selectedIconSrc: r
}
)
}
);
};
export {
S as IconSelectorWindow
};