You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.6 KiB
97 lines
3.6 KiB
/**
|
|
* Copyright IBM Corp. 2016, 2021
|
|
*
|
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
*/
|
|
import { i as iconPropTypes, _ as _objectWithoutProperties, I as Icon, a as _objectSpread2 } from './iconPropTypes-44033017.js';
|
|
import React from 'react';
|
|
import '@carbon/icon-helpers';
|
|
import 'prop-types';
|
|
|
|
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8;
|
|
|
|
var _excluded = ["children", "size"];
|
|
var CheckmarkFilled = /*#__PURE__*/React.forwardRef(function CheckmarkFilled(_ref, ref) {
|
|
var children = _ref.children,
|
|
_ref$size = _ref.size,
|
|
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
|
|
if (size === 16 || size === "16" || size === "16px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 16 16",
|
|
fill: "currentColor"
|
|
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
d: "M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"
|
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
if (size === 20 || size === "20" || size === "20px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 20 20",
|
|
fill: "currentColor"
|
|
}, rest), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"
|
|
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
fill: "none",
|
|
d: "M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
if (size === 24 || size === "24" || size === "24px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 24 24",
|
|
fill: "currentColor"
|
|
}, rest), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"
|
|
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
|
fill: "none",
|
|
d: "M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 32 32",
|
|
fill: "currentColor"
|
|
}, rest), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"
|
|
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
|
fill: "none",
|
|
d: "M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z",
|
|
"data-icon-path": "inner-path"
|
|
})), children);
|
|
});
|
|
|
|
if (process.env.NODE_ENV !== "production") {
|
|
CheckmarkFilled.propTypes = iconPropTypes;
|
|
}
|
|
|
|
export { CheckmarkFilled as default };
|