@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
43 lines (38 loc) • 1.7 kB
JavaScript
import { a as __rest } from './anchor-chunk-27f34e54.js';
import { a as Scale, b as StyledIcon, c as DefaultColor, d as DefaultScale } from './anchor-chunk-25c07228.js';
import { forwardRef, createElement, useContext, useState, Children, Fragment, useEffect, useRef, createRef, Component, cloneElement, useReducer, PureComponent, isValidElement, createContext, useImperativeHandle } from 'react';
import classNames from 'classnames';
import './anchor-chunk-7b9d8557.js';
import '@xstyled/styled-components';
import '@xstyled/system';
/* eslint-disable max-len */
var ChevronRightSmall = forwardRef(function (_a, ref) {
var _a$color = _a.color,
color = _a$color === void 0 ? DefaultColor : _a$color,
_a$scale = _a.scale,
scale = _a$scale === void 0 ? DefaultScale : _a$scale,
className = _a.className,
props = __rest(_a, ["color", "scale", "className"]);
return createElement(StyledIcon, Object.assign({
ref: ref,
className: classNames('anchor-icon chevron-right-small', className),
scale: scale,
"$color": color
}, props), createElement("svg", {
width: Scale[scale],
height: Scale[scale],
viewBox: "0 0 16 16",
xmlns: "http://www.w3.org/2000/svg"
}, createElement("g", {
fill: "none",
fillRule: "evenodd"
}, createElement("path", {
d: "M2 14h12V2H2z"
}), createElement("path", {
d: "M8.276 8l-1.851 2.172a.64.64 0 0 0 0 .88l.011.01c.24.25.634.25.881-.009L9.575 8.44a.637.637 0 0 0 .009-.87L7.309 4.937a.602.602 0 0 0-.872 0l-.011.011a.637.637 0 0 0-.01.87L8.275 8z",
fill: "currentColor",
fillRule: "nonzero"
}))));
});
export { ChevronRightSmall };
//# sourceMappingURL=chevronrightsmall.js.map