UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

28 lines (27 loc) 1.08 kB
/** * 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-BElKp6Sn.js"; import React from "react"; import { jsx } from "react/jsx-runtime"; //#region virtual:CollapseTitle.js const CollapseTitle = /* @__PURE__ */ React.forwardRef(function CollapseTitle({ 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: "M26,28H6c-1.103,0-2-.8975-2-2V6c0-1.103.897-2,2-2h13v2H6v20h20v-13h2v13c0,1.1025-.8975,2-2,2ZM24,17h-9v-9h2v5.5859l7.293-7.293,1.4141,1.4141-7.293,7.293h5.5859v2Z" }), children); }); if (process.env.NODE_ENV !== "production") CollapseTitle.propTypes = iconPropTypes; //#endregion export { CollapseTitle as default };