UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

38 lines (35 loc) 1.22 kB
/** * Copyright IBM Corp. 2016, 2023 * * 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 React from 'react'; import Icon from './Icon.js'; import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js'; import '@carbon/icon-helpers'; import 'prop-types'; var _path; const Compare = /*#__PURE__*/React.forwardRef(function Compare({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M28,6H18V4a2,2,0,0,0-2-2H4A2,2,0,0,0,2,4V24a2,2,0,0,0,2,2H14v2a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM4,15h6.17L7.59,17.59,9,19l5-5L9,9,7.59,10.41,10.17,13H4V4H16V24H4ZM16,28V26a2,2,0,0,0,2-2V8H28v9H21.83l2.58-2.59L23,13l-5,5,5,5,1.41-1.41L21.83,19H28v9Z" })), children); }); if (process.env.NODE_ENV !== "production") { Compare.propTypes = iconPropTypes; } export { Compare as default };