@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
46 lines (42 loc) • 1.45 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 _circle, _path, _path2;
const Query = /*#__PURE__*/React.forwardRef(function Query({
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
}, _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
cx: "11",
cy: "15.5",
r: "1.5"
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M12,12H10V8h2a2,2,0,0,0,0-4H10A2.0023,2.0023,0,0,0,8,6v.5H6V6a4.0045,4.0045,0,0,1,4-4h2a4,4,0,0,1,0,8Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M22.4479,21.0337A10.971,10.971,0,0,0,19.9211,4.7446l-.999,1.73A8.9967,8.9967,0,1,1,5,14H3a10.9916,10.9916,0,0,0,18.0338,8.4478L28.5859,30,30,28.5859Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Query.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Query;