UNPKG

geostyler

Version:
34 lines (33 loc) 533 B
import { jsx as a } from "react/jsx-runtime"; import { Select as s } from "antd"; const m = ({ fonts: e = [ "Arial", "Verdana", "Sans-serif", "Courier New", "Lucida Console", "Monospace", "Times New Roman", "Georgia", "Serif" ], ...i }) => { let r; return e && (r = e.map((o) => ({ label: o, value: o }))), /* @__PURE__ */ a( s, { className: "editor-field font-picker", mode: "tags", ...i, options: r } ); }; export { m as FontPicker };