Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
25 lines
763 B
Plaintext
25 lines
763 B
Plaintext
import { jsx as _jsx } from "react/jsx-runtime";
|
|
import React from 'react';
|
|
import './index.scss';
|
|
export const ChevronIcon = ({
|
|
ariaLabel,
|
|
className,
|
|
direction,
|
|
size
|
|
}) => /*#__PURE__*/_jsx("svg", {
|
|
"aria-label": ariaLabel,
|
|
className: ['icon icon--chevron', className, size && `icon--size-${size}`].filter(Boolean).join(' '),
|
|
height: "100%",
|
|
style: {
|
|
transform: direction === 'left' ? 'rotate(90deg)' : direction === 'right' ? 'rotate(-90deg)' : direction === 'up' ? 'rotate(180deg)' : undefined
|
|
},
|
|
viewBox: "0 0 20 20",
|
|
width: "100%",
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
children: /*#__PURE__*/_jsx("path", {
|
|
className: "stroke",
|
|
d: "M14 8L10 12L6 8",
|
|
strokeLinecap: "square"
|
|
})
|
|
});
|
|
//# sourceMappingURL=index.js.map |