UNPKG

geostyler

Version:
22 lines (21 loc) 435 B
import { jsxs as i, jsx as l } from "react/jsx-runtime"; import { CheckCircleOutlined as c } from "@ant-design/icons"; /* empty css */ const n = ({ onItemClick: t, selected: e, children: r }) => /* @__PURE__ */ i( "div", { className: `gs-selectable-item ${e ? "selected" : ""}`, onClick: t, children: [ e && /* @__PURE__ */ l(c, {}), r ] } ); export { n as SelectableItem };