import React from'react';
import { Svg, Path } from'react-native-svg';

const MyFavoriteIcon = ({size,color}:{size:number,color:string}) => {
    return (
        <Svg
            viewBox="0 0 1024 1024"
            width={size}
            height={size}
        >
            <Path
                d="M511.971859 903.595746 174.348352 607.095845C135.224286 570.081837 44.92877 472.01738 51.120796 360.498494c-0.056282-60.178591 24.431435-112.193245 79.346139-167.136601 55.759955-48.863894 114.222461-72.957639 175.158299-72.957639 91.703585 0 167.815053 53.196573 206.346625 86.35681 38.533618-33.160237 114.642017-86.35681 206.345602-86.35681 60.936861 0 119.401414 24.092721 173.750229 71.605851 56.323796 56.295144 80.815607 108.310821 80.815607 170.06428 6.133697 109.942995-84.162842 208.007451-123.286907 245.021459l-2.618641 2.448772L511.971859 903.595746zM305.626257 178.049139c-47.229674 0-91.64628 18.745946-135.808082 57.363476-42.417065 42.559305-61.107753 80.809467-61.107753 126.661771-5.03876 91.478458 79.289857 178.593538 105.242949 203.137537l2.391467 2.28095L511.971859 826.895877l297.008484-260.669858c26.966165-25.558096 111.292736-112.672152 106.310258-202.518437-0.054235-47.485501-18.742876-85.735663-62.570058-129.588427-42.75271-37.32407-87.171362-56.068993-134.403083-56.068993-90.661859 0-165.249625 67.581188-185.965435 88.324628l-20.380166 20.379143-20.377096-20.379143C470.878952 245.630327 396.288117 178.049139 305.626257 178.049139z"
                fill={color}
            />
        </Svg>
    );
};

export default MyFavoriteIcon;