UNPKG

@carbon/icons-react

Version:

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

54 lines (48 loc) 1.42 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 React from 'react'; import { i as iconPropTypes, I as Icon } from './iconPropTypes-de6b0d9e.js'; import '@carbon/icon-helpers'; import 'prop-types'; var _path, _path2; const ChevronMini = /*#__PURE__*/React.forwardRef(function ChevronMini(_ref, ref) { let { children, size = 16, ...rest } = _ref; if (size === 16 || size === "16" || size === "16px") { return /*#__PURE__*/React.createElement(Icon, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M15 9L15 15 9 15z" })), children); } 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 }, _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M31 19L31 31 19 31 31 19z" })), children); }); if (process.env.NODE_ENV !== "production") { ChevronMini.propTypes = iconPropTypes; } export { ChevronMini as default };