@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (50 loc) • 2 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.
*/
'use strict';
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, _circle, _circle2, _circle3, _path2;
const PromptTemplate = /*#__PURE__*/React.forwardRef(function PromptTemplate({
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: "M31.5 23c-.8271 0-1.5-.6729-1.5-1.5v-1.5c0-1.1025-.8972-2-2-2h-2v2h2v1.5c0 .98.4072 1.8643 1.0581 2.5-.6509.6357-1.0581 1.52-1.0581 2.5v1.5h-2v2h2c1.1028 0 2-.8975 2-2v-1.5c0-.8271.6729-1.5 1.5-1.5h.5v-2h-.5zM16 20v1.5c0 .8271-.6729 1.5-1.5 1.5h-.5v2h.5c.8271 0 1.5.6729 1.5 1.5v1.5c0 1.1025.8972 2 2 2h2v-2h-2v-1.5c0-.98-.4072-1.8643-1.0581-2.5.6509-.6357 1.0581-1.52 1.0581-2.5v-1.5h2v-2h-2c-1.1028 0-2 .8975-2 2zM28 15h2V5c0-1.103-.8975-2-2-2h-3v2h3v10z"
})), _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
cx: "23",
cy: "13",
r: "2"
})), _circle2 || (_circle2 = /*#__PURE__*/React.createElement("circle", {
cx: "16",
cy: "13",
r: "2"
})), _circle3 || (_circle3 = /*#__PURE__*/React.createElement("circle", {
cx: "9",
cy: "13",
r: "2"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "m7,23h-3c-1.103,0-2-.8975-2-2V5c0-1.103.897-2,2-2h3v2h-3v16h3v2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
PromptTemplate.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = PromptTemplate;