UNPKG

@jinshuju/field-icons-react

Version:

First, install `@jinshuju/field-icons-react` from npm:

30 lines 1.34 kB
const React = require("react"); function FieldIconPosition({ title, titleId, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", "data-slot": "icon", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("g", { clipPath: "url(#a)" }, /*#__PURE__*/React.createElement("path", { d: "M12 9.75a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 .75-.75Z" }), /*#__PURE__*/React.createElement("path", { d: "M6 7V4.75C6 3.784 6.784 3 7.75 3h8.5c.966 0 1.75.784 1.75 1.75V7h2a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2Zm1.5-2.25V7h9V4.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM20 8.5H4a.5.5 0 0 0-.5.5v2h5.75a.75.75 0 0 1 0 1.5H3.5V20a.5.5 0 0 0 .5.5h16a.5.5 0 0 0 .5-.5v-7.5h-5.75a.75.75 0 0 1 0-1.5h5.75V9a.5.5 0 0 0-.5-.5Z" })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", { id: "a" }, /*#__PURE__*/React.createElement("rect", { width: 24, height: 24 })))); } const ForwardRef = /*#__PURE__*/ React.forwardRef(FieldIconPosition); module.exports = ForwardRef;