2026-01-15 23:37:50 -05:00
|
|
|
import Icon from "../Icon";
|
2025-08-01 14:58:30 -07:00
|
|
|
import PropTypes from "prop-types";
|
|
|
|
|
|
|
|
|
|
const ArrowRight = ({ type, color = "#667085", ...props }) => {
|
|
|
|
|
if (type === "double") {
|
|
|
|
|
return (
|
2026-01-15 23:37:50 -05:00
|
|
|
<Icon
|
|
|
|
|
name="ChevronsRight"
|
|
|
|
|
color={color}
|
2025-08-01 14:58:30 -07:00
|
|
|
{...props}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
} else {
|
|
|
|
|
return (
|
2026-01-15 23:37:50 -05:00
|
|
|
<Icon
|
|
|
|
|
name="ChevronRight"
|
|
|
|
|
color={color}
|
2025-08-01 14:58:30 -07:00
|
|
|
{...props}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ArrowRight.propTypes = {
|
|
|
|
|
type: PropTypes.oneOf(["double", "default"]),
|
|
|
|
|
color: PropTypes.string,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default ArrowRight;
|