@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
33 lines (30 loc) • 1.26 kB
JavaScript
/**
* Copyright IBM Corp. 2019, 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 { _ as _extends } from '../_rollupPluginBabelHelpers-fe323da0.js';
import React from 'react';
import Icon from '../Icon.js';
import '@carbon/icon-helpers';
import 'prop-types';
var _path;
const Envelope = /*#__PURE__*/React.forwardRef(function Envelope({
children,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon, _extends({
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref: ref
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M31,4.64H1C0.801,4.64,0.64,4.801,0.64,5v22c0,0.199,0.161,0.36,0.36,0.36h30\tc0.199,0,0.36-0.161,0.36-0.36V5C31.36,4.801,31.199,4.64,31,4.64z M30.64,26.181L19.638,16.097L30.64,5.829V26.181z M15.754,19.263\tc0.139,0.131,0.353,0.131,0.491,0l2.865-2.674L30.074,26.64H1.926L12.89,16.59L15.754,19.263z M30.087,5.36L16,18.508L1.913,5.36\tH30.087z M12.362,16.097L1.36,26.182V5.829L12.362,16.097z"
})), children);
});
export { Envelope as default };