Skip to content

Instantly share code, notes, and snippets.

@brandonsueur
Created August 9, 2021 19:44
Show Gist options
  • Save brandonsueur/5720abc5e313c8c9e6f5a2d29f5e38be to your computer and use it in GitHub Desktop.
Save brandonsueur/5720abc5e313c8c9e6f5a2d29f5e38be to your computer and use it in GitHub Desktop.
discount icon
import React from "react";
import PropTypes from "prop-types";
const Discount = ({ color, width, ...restProps }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={width}
fill={color}
viewBox="0 0 68 68"
{...restProps}>
<path
fill={color}
d="M60.06 47.97c-.75-9.05-1.51-18.09-2.26-27.14-.17-2.09-.35-4.18-.52-6.27-.02-.19-.06-.35-.13-.5-.17-.55-.62-1-1.37-1h-11.1c0-.97.05-1.96-.03-2.93-.21-2.35-1.19-4.57-2.87-6.25C38.45.56 33 .02 29.14 2.73c-1.9 1.34-3.32 3.3-3.94 5.55-.34 1.24-.34 2.5-.34 3.77v1H12.7c-.86 0-1.43.69-1.5 1.5L9.79 31.57c-.75 9.05-1.51 18.09-2.26 27.14-.18 2.09-.35 4.18-.53 6.27-.07.81.74 1.5 1.5 1.5H59.97c.76 0 1.57-.69 1.5-1.5l-1.41-17.01zM29.33 6.61c2.35-2.98 6.86-3.5 9.8-1.08 1.41 1.16 2.38 2.9 2.52 4.73.06.84.02 1.7.02 2.54v.26H27.86c-.02-2.29-.04-4.53 1.47-6.45zM42.6 63.48H10.13l1.29-15.51c.75-9.05 1.51-18.09 2.26-27.14.13-1.59.26-3.18.4-4.77h10.78v4.38c0 1.93 3 1.93 3 0v-4.38h13.81v4.38c0 1.93 3 1.93 3 0v-4.38h9.73l1.29 15.51c.75 9.05 1.51 18.09 2.26 27.14.13 1.59.26 3.18.4 4.77H42.6z"
/>
<path
fill={color}
d="M31.62 39.25c1.13-2.75.02-5.86-2.28-7.59-.08-.08-.16-.15-.26-.21-2.19-1.41-5.22-1.38-7.31.2-2.18 1.65-3.24 4.48-2.42 7.14.82 2.65 3.25 4.51 6.02 4.62 2.76.11 5.22-1.64 6.25-4.16zm-7.28.95c-.04-.01-.14-.06-.19-.08-.1-.05-.19-.09-.29-.15l-.3-.18c-.02-.02-.1-.07-.15-.11-.15-.13-.3-.25-.43-.4-.08-.08-.15-.17-.22-.25.25.28.01.01-.03-.05-.15-.22-.26-.44-.39-.67-.01-.01-.01-.01-.01-.02s0-.01-.01-.03c-.03-.1-.07-.21-.1-.31-.05-.16-.18-.47-.15-.64.01.06.02.12.02.18-.01-.07-.02-.15-.02-.22-.01-.11-.01-.22-.01-.33 0-.11 0-.22.01-.33 0-.05.01-.11.01-.16.05-.22.09-.43.16-.64.02-.06.04-.11.06-.16.01-.02.07-.17.09-.22.11-.21.24-.4.36-.6.01-.02.02-.03.02-.04.01-.01.01-.01.02-.03.1-.11.2-.23.31-.34.08-.08.17-.15.25-.23l.04-.04c.03-.02.06-.05.1-.07.22-.15.44-.26.67-.39.01-.01.01-.01.02-.01s.01 0 .03-.01c.14-.04.28-.1.42-.13.11-.03.21-.05.32-.08l.15-.03c.26-.01.51-.03.77-.01h.09c.13.01.27.05.39.08.11.03.22.06.32.09.05.01.21.08.28.11.21.1.41.21.61.33.03.02.16.12.18.13.05.04.11.09.16.14.15.13.27.28.4.43.04.04.08.1.1.12.06.09.12.19.18.28.06.1.11.19.16.29.02.04.04.09.06.13 0 .01 0 .01.01.02.07.21.14.42.19.63.02.08.08.24.06.32-.01-.06-.02-.12-.02-.18.01.07.02.15.02.22.02.22.02.44 0 .66v.09c-.01.13-.05.27-.08.39-.05.19-.11.36-.17.54-.02.05-.05.13-.07.16-.05.1-.11.21-.17.31-.06.1-.13.2-.19.3-.01.02-.02.03-.02.04-.01.01-.01.01-.02.03-.18.2-.37.38-.56.57-.02.01-.02.02-.03.03-.01.01-.01.01-.02.01-.09.06-.18.13-.28.18-.16.1-.38.26-.57.3-.03.01-.05.01-.07.02-.1.04-.21.07-.31.1s-.21.05-.32.08l-.15.03c-.22.01-.43.03-.65.02h-.15c-.07-.01-.14-.02-.22-.04-.24-.05-.46-.11-.67-.18zm.69.19c.06.01.12.02.18.02-.07 0-.14 0-.18-.02zM47.69 43.78c-.08-.08-.16-.15-.26-.21-2.19-1.41-5.22-1.38-7.31.2-2.18 1.65-3.24 4.48-2.42 7.14.82 2.65 3.25 4.51 6.02 4.62 2.77.11 5.23-1.64 6.26-4.16 1.12-2.75.02-5.85-2.29-7.59zm-4.3 8.73c.06.01.12.02.18.02-.07 0-.14 0-.18-.02zm3.77-2.14c-.02.05-.05.13-.07.16-.05.1-.11.21-.17.31-.06.1-.13.2-.19.3-.01.02-.02.03-.02.04-.01.01-.01.01-.02.03-.18.2-.37.38-.56.57-.02.01-.02.02-.03.03-.01.01-.01.01-.02.01-.09.06-.18.13-.28.18-.16.1-.38.26-.57.3-.03.01-.05.01-.07.02-.1.04-.21.07-.31.1-.11.03-.21.05-.32.08l-.15.03c-.22.01-.43.03-.65.02h-.15c-.07-.01-.14-.02-.22-.04-.22-.04-.44-.1-.65-.17-.04-.01-.14-.06-.19-.08-.1-.05-.19-.09-.29-.15l-.3-.18c-.02-.02-.1-.07-.15-.11-.15-.13-.3-.25-.43-.4-.08-.08-.15-.17-.22-.25.25.28.01.01-.03-.05-.15-.22-.26-.44-.39-.67-.01-.01-.01-.01-.01-.02s0-.01-.01-.03c-.03-.1-.07-.21-.1-.31-.05-.16-.18-.47-.15-.64.01.06.02.12.02.18-.01-.07-.02-.15-.02-.22-.01-.11-.01-.22-.01-.33 0-.11 0-.22.01-.33 0-.05.01-.11.01-.16.05-.22.09-.43.16-.64.02-.06.04-.11.06-.17.01-.01.07-.17.09-.21.11-.21.24-.4.36-.6.01-.02.02-.03.02-.04.01-.01.01-.01.02-.03.1-.11.2-.23.31-.34.08-.08.17-.15.25-.23.03-.03.03-.02.04-.04.03-.02.06-.05.1-.07.22-.15.44-.26.67-.39.01-.01.01-.01.02-.01s.01 0 .03-.01c.14-.04.28-.1.42-.13.11-.03.21-.05.32-.08l.15-.03c.26-.01.51-.03.77-.01h.09c.13.01.27.05.39.08.11.03.22.06.32.09.05.01.21.08.28.11.21.1.41.21.61.33.03.02.16.12.18.13.05.04.11.09.16.14.14.13.27.28.4.43.04.04.08.1.1.12.06.09.12.19.18.28.06.1.11.19.16.29.02.04.04.09.06.13 0 .01 0 .01.01.02.07.21.14.42.19.63.02.08.08.24.06.32-.01-.06-.02-.12-.02-.18.01.07.02.15.02.22.02.22.02.44 0 .66v.09c-.01.13-.05.27-.08.39-.06.17-.13.35-.19.53zM44.58 30.8c1.07-1.62-1.53-3.12-2.59-1.51-4.99 7.55-9.97 15.1-14.96 22.65-.71 1.07-1.42 2.14-2.12 3.22-1.07 1.62 1.53 3.12 2.59 1.51 4.99-7.55 9.97-15.1 14.96-22.65.7-1.08 1.41-2.15 2.12-3.22z"
/>
</svg>
);
Discount.propTypes = {
color: PropTypes.string,
width: PropTypes.number
};
Discount.defaultProps = {
color: "#000"
};
export default Discount;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment