UNPKG

geostyler

Version:
21 lines (20 loc) 404 B
import { jsx as t } from "react/jsx-runtime"; import { Select as a } from "antd"; const c = ({ channelOptions: l = ["rgb", "gray"], ...o }) => { const r = l.map((e) => ({ value: e, label: e })); return /* @__PURE__ */ t( a, { className: "editor-field channelSelection-field", allowClear: !0, options: r, ...o } ); }; export { c as ChannelSelectionField };