UNPKG

@semcore/icon

Version:
27 lines 1.26 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 = '16', height = '16', viewBox = '0 0 16 16', ...props }, ref) { return /*#__PURE__*/React.createElement(Icon, _extends({ ref: ref, "data-name": "Checkbox", "data-group": "m", width: width, height: height, viewBox: viewBox }, props), /*#__PURE__*/React.createElement("path", { d: "M1 3.5A1.5 1.5 0 0 1 2.5 2h7a1 1 0 1 1 0 2H3v8h8v-.5a1 1 0 1 1 2 0v1a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 1 12.5v-9Z", shapeRendering: "geometricPrecision" }), /*#__PURE__*/React.createElement("path", { d: "m8.707 10.707 6-6a1 1 0 0 0-1.414-1.414L8 8.586 5.707 6.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0Z", shapeRendering: "geometricPrecision" })); } Checkbox.displayName = 'Checkbox'; export default createBaseComponent(Checkbox);