UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

49 lines (48 loc) 1.3 kB
var _jsxFileName = "/home/runner/work/frontend-shared/frontend-shared/src/components/icons/Checkbox.js"; import { jsxDEV as _jsxDEV } from "preact/jsx-dev-runtime"; // This file was auto-generated using scripts/generate-icons.js /** * Icon generated from checkbox.svg * * @param {import('preact').JSX.SVGAttributes<SVGSVGElement>} props */ export default function CheckboxIcon(props) { return _jsxDEV("svg", { width: "16", height: "16", viewBox: "-4 -4 39 39", "aria-hidden": "true", ...props, children: [_jsxDEV("rect", { class: "hyp-svg-checkbox--background", width: "35", height: "35", x: "-2", y: "-2", stroke: "currentColor", fill: "none", "stroke-width": "3", rx: "5", ry: "5" }, void 0, false, { fileName: _jsxFileName, lineNumber: 17, columnNumber: 7 }, this), _jsxDEV("path", { class: "hyp-svg-checkbox--checkmark", stroke: "transparent", "stroke-width": "5", fill: "none", d: "m4 14 8 9L28 5" }, void 0, false, { fileName: _jsxFileName, lineNumber: 29, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 5 }, this); } //# sourceMappingURL=Checkbox.js.map