export default function ReaderLikeIcon( { liked, iconSize } ) {
	return (
		<svg
			className={ `like-button ${ liked ? 'liked' : '' }` }
			width={ iconSize }
			height={ iconSize }
			viewBox="0 0 20 20"
			fill="none"
			xmlns="http://www.w3.org/2000/svg"
		>
			<path
				d={
					liked
						? 'M10.0973 3.13936C10.189 2.95355 10.454 2.95355 10.5457 3.13936L12.6145 7.33118C12.6509 7.40497 12.7213 7.45611 12.8027 7.46794L17.4286 8.14013C17.6337 8.16993 17.7156 8.42192 17.5672 8.56656L14.2198 11.8294C14.1609 11.8869 14.134 11.9696 14.1479 12.0507L14.9381 16.658C14.9732 16.8622 14.7588 17.0179 14.5754 16.9215L10.4378 14.7463C10.365 14.708 10.278 14.708 10.2052 14.7463L6.06757 16.9215C5.88416 17.0179 5.66981 16.8622 5.70483 16.658L6.49504 12.0507C6.50895 11.9696 6.48206 11.8869 6.42314 11.8294L3.07577 8.56656C2.92739 8.42192 3.00927 8.16993 3.21432 8.14013L7.84028 7.46794C7.9217 7.45611 7.9921 7.40497 8.02851 7.33118L10.0973 3.13936Z'
						: 'M9.50715 13.4186C10.0169 13.1506 10.626 13.1505 11.1358 13.4186L13.0316 14.4152L12.6695 12.3043C12.5722 11.7366 12.7604 11.1573 13.1728 10.7553L14.7065 9.26034L12.587 8.95236L12.8027 7.46794L17.4286 8.14013C17.6337 8.16993 17.7156 8.42192 17.5672 8.56656L14.2198 11.8294C14.1609 11.8869 14.134 11.9696 14.1479 12.0507L14.9381 16.658C14.9732 16.8622 14.7588 17.0179 14.5754 16.9215L10.4378 14.7463C10.365 14.708 10.278 14.708 10.2052 14.7463L6.06757 16.9215C5.88416 17.0179 5.66981 16.8622 5.70483 16.658L6.49504 12.0507C6.50895 11.9696 6.48206 11.8869 6.42314 11.8294L3.07577 8.56656C2.92739 8.42192 3.00927 8.16993 3.21432 8.14013L7.84028 7.46794L8.05597 8.95236L5.93648 9.26034L7.47016 10.7553C7.88261 11.1573 8.07082 11.7366 7.97345 12.3043L7.6114 14.4152L9.50715 13.4186ZM8.02851 7.33118C7.9921 7.40497 7.92171 7.45611 7.84028 7.46794L8.05597 8.95236C8.62596 8.86953 9.1187 8.51154 9.37362 7.99503C9.37362 7.99503 9.37362 7.99503 9.37362 7.99503L10.3215 6.07444L11.2694 7.99503C11.5243 8.51153 12.017 8.86953 12.587 8.95236L12.8027 7.46794C12.7213 7.45611 12.6509 7.40497 12.6145 7.33118L10.5457 3.13936C10.454 2.95355 10.189 2.95355 10.0973 3.13936L8.02851 7.33118Z'
				}
			/>
		</svg>
	);
}
