UNPKG

@guruhotel/aura-icons

Version:

🎨 Icon library designed by the Guruhotel team for Aura UI

40 lines (39 loc) • 2.64 kB
"use strict"; exports.__esModule = true; exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _accessibleIcon = require("../accessible-icon"); var _styles = require("../styles"); var _jsxRuntime = require("react/jsx-runtime"); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } const StyledChevronRightRegular = ({ label, color = "#000000", className = "", css = {}, viewBox = "0 0 24 24" }, ref) => { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_accessibleIcon.AccessibleIcon, { label: label, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledSvg, { className: className, css: css, viewBox: viewBox, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: ref, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledPath, { css: { fill: `${color}` }, d: "M7.8264 0.511339L17.5841 10.8759C17.8824 11.1912 18.0315 11.5959 18.0315 12.001C18.0315 12.4058 17.8823 12.8103 17.5841 13.126L7.8264 23.4906C7.20453 24.1452 6.16876 24.1724 5.51279 23.5519C4.85219 22.9297 4.82887 21.8895 5.44887 21.2376L14.2042 11.9982L5.44887 2.7588C4.82887 2.10693 4.85206 1.07389 5.51279 0.447242C6.16876 -0.172584 7.20453 -0.145308 7.8264 0.511339Z" }) }) }); }; const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledChevronRightRegular); const ChevronRightRegular = /*#__PURE__*/(0, _react.memo)(ForwardRef); var _default = ChevronRightRegular; exports.default = _default; module.exports = exports.default;