@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.3 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.
*/
import Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:Policy.js
const Policy = React.forwardRef(function Policy({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("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" }), /* @__PURE__ */ jsx("path", { d: "M9 14H16V16H9z" }), /* @__PURE__ */ jsx("path", { d: "M9 8H19V10H9z" }), /* @__PURE__ */ jsx("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;
//#endregion
export { Policy as default };