UNPKG

@semcore/icon

Version:
27 lines 1.24 kB
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } import React from 'react'; import { createBaseComponent } from '@semcore/core'; import Icon from '@semcore/icon'; function Checkbox({ width = '24', height = '24', viewBox = '0 0 24 24', ...props }, ref) { return /*#__PURE__*/React.createElement(Icon, _extends({ ref: ref, "data-name": "Checkbox", "data-group": "l", width: width, height: height, viewBox: viewBox }, props), /*#__PURE__*/React.createElement("path", { d: "M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a1 1 0 1 0-2 0v4H4V5h13a1 1 0 1 0 0-2H4Z", shapeRendering: "geometricPrecision" }), /*#__PURE__*/React.createElement("path", { d: "M21.707 6.707a1 1 0 0 0-1.414-1.414L12 13.586l-3.293-3.293a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l9-9Z", shapeRendering: "geometricPrecision" })); } Checkbox.displayName = 'Checkbox'; export default createBaseComponent(Checkbox);