@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
44 lines (41 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.
*/
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, _path2, _path3, _path4;
const RuleLocked = /*#__PURE__*/React.forwardRef(function RuleLocked({
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,22v-3c0-2.2-1.8-4-4-4s-4,1.8-4,4v3c-1.1,0-2,0.9-2,2v5c0,1.1,0.9,2,2,2h8c1.1,0,2-0.9,2-2v-5C30,22.9,29.1,22,28,22z M22,19c0-1.1,0.9-2,2-2s2,0.9,2,2v3h-4V19z M20,29v-5h8v5H20z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M8 16H14V18H8z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M8 10H20V12H8z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M26,4c0-1.1-0.9-2-2-2H4C2.9,2,2,2.9,2,4v13c0,4.1,2.2,7.8,5.8,9.7l5.2,2.8v-2.3l-4.2-2.3C5.8,23.4,4,20.3,4,17V4h20v8h2V4z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
RuleLocked.propTypes = iconPropTypes;
}
export { RuleLocked as default };