UNPKG

geostyler

Version:
27 lines (26 loc) 601 B
import { jsx as o, jsxs as e } from "react/jsx-runtime"; import { Upload as l, Button as a } from "antd"; import { UploadOutlined as m } from "@ant-design/icons"; import { useGeoStylerLocale as n } from "../../context/GeoStylerContext/GeoStylerContext.js"; const c = ({ ...t }) => { const r = n("UploadButton"); return /* @__PURE__ */ o( l, { name: "file", action: "memory", ...t, children: /* @__PURE__ */ e(a, { children: [ /* @__PURE__ */ o(m, {}), " ", r.upload ] }) } ); }; export { c as UploadButton, c as default };