UNPKG

geostyler

Version:
28 lines (27 loc) 596 B
import { jsxs as d, jsx as n } from "react/jsx-runtime"; import { Radio as e } from "antd"; const s = ({ onChange: t, value: l }) => { const o = (r) => { t && t(r.target.value); }; return /* @__PURE__ */ d( e.Group, { className: "extend-field", defaultValue: l === !0 ? l : !1, buttonStyle: "solid", onChange: o, size: "small", children: [ /* @__PURE__ */ n(e.Button, { value: !1, children: "16-bit" }), /* @__PURE__ */ n(e.Button, { value: !0, children: "32-bit" }) ] } ); }; export { s as ExtendedField };