@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
46 lines (42 loc) • 1.56 kB
JavaScript
/**
* 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.
*/
;
var React = require('react');
var Icon_js = require('./Icon.js');
var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js');
require('@carbon/icon-helpers');
require('prop-types');
var _path, _path2, _path3, _path4;
const Policy = /*#__PURE__*/React.forwardRef(function Policy({
children,
size = 16,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon_js, {
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: "M30,18A6,6,0,1,0,20,22.46v7.54l4-1.8926,4,1.8926V22.46A5.98,5.98,0,0,0,30,18Zm-4,8.84-2-.9467L22,26.84V23.65a5.8877,5.8877,0,0,0,4,0ZM24,22a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,24,22Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M9 14H16V16H9z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M9 8H19V10H9z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M6,30a2.0021,2.0021,0,0,1-2-2V4A2.0021,2.0021,0,0,1,6,2H22a2.0021,2.0021,0,0,1,2,2V8H22V4H6V28H16v2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Policy.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Policy;