import React, { FC } from "react"; import styled, { css } from "styled-components"; interface IconArrowProps { arrowDirection: "left" | "right"; } /* const StyledSpan = styled.span` ${(props) => props.arrowDirection === "left" && css` transform: scale(-1, 1); `} `; */ const IconArrow: FC = ({ arrowDirection }) => { if (arrowDirection === "left") { return ( ); } return ( ); }; export { IconArrow };