import React from 'react';

import { SVG, IProps as IPropsSVG } from '..';

export interface IProps {
    readonly svg?: IPropsSVG,
    readonly color?: string
}

export const IconSnowflake = ({ svg, color = '#9A41FE' }: IProps) => (
    <SVG
        {...svg}
        viewBox="0 0 16 16"
    >
        <g clipPath="url(#clip0_16682_151841)">
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M7.96501 0C8.3332 0 8.63167 0.298477 8.63167 0.666667V15.3333C8.63167 15.7015 8.3332 16 7.96501 16C7.59682 16 7.29834 15.7015 7.29834 15.3333V0.666667C7.29834 0.298477 7.59682 0 7.96501 0Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M5.60591 1.40522C5.86626 1.14487 6.28837 1.14487 6.54872 1.40522L7.94897 2.80547L9.34922 1.40522C9.60956 1.14487 10.0317 1.14487 10.292 1.40522C10.5524 1.66557 10.5524 2.08768 10.292 2.34803L7.94897 4.69109L5.60591 2.34803C5.34556 2.08768 5.34556 1.66557 5.60591 1.40522Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M10.292 14.6104C10.0317 14.8708 9.60958 14.8708 9.34923 14.6104L7.94898 13.2102L6.54873 14.6104C6.28838 14.8708 5.86627 14.8708 5.60593 14.6104C5.34558 14.3501 5.34558 13.9279 5.60593 13.6676L7.94898 11.3245L10.292 13.6676C10.5524 13.9279 10.5524 14.3501 10.292 14.6104Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M1.02865 3.98625C1.21274 3.66739 1.62047 3.55814 1.93933 3.74223L14.641 11.0756C14.9599 11.2597 15.0691 11.6674 14.8851 11.9862C14.701 12.3051 14.2932 12.4144 13.9744 12.2303L1.27266 4.89693C0.953801 4.71284 0.844551 4.30511 1.02865 3.98625Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M1.06654 6.73126C0.971243 6.37562 1.1823 6.01006 1.53794 5.91477L3.45072 5.40224L2.93819 3.48946C2.8429 3.13382 3.05395 2.76826 3.4096 2.67297C3.76524 2.57767 4.1308 2.78873 4.22609 3.14437L5.08371 6.34505L1.88303 7.20267C1.52739 7.29796 1.16183 7.08691 1.06654 6.73126Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M14.8456 9.27643C14.9409 9.63207 14.7298 9.99763 14.3742 10.0929L12.4614 10.6055L12.9739 12.5182C13.0692 12.8739 12.8582 13.2394 12.5025 13.3347C12.1469 13.43 11.7813 13.219 11.686 12.8633L10.8284 9.66264L14.0291 8.80502C14.3847 8.70973 14.7503 8.92078 14.8456 9.27643Z"
                fill={color}
            />
            <path
                d="M1.58936 11.6514L14.2911 4.31803"
                stroke={color}
                strokeWidth="1.33333"
                strokeLinecap="round"
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M3.40887 13.3252C3.05323 13.2299 2.84217 12.8643 2.93747 12.5087L3.45 10.5959L1.53722 10.0834C1.18157 9.98809 0.97052 9.62253 1.06581 9.26689C1.16111 8.91125 1.52667 8.70019 1.88231 8.79548L5.08299 9.6531L4.22537 12.8538C4.13008 13.2094 3.76452 13.4205 3.40887 13.3252Z"
                fill={color}
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M12.5023 2.66419C12.8579 2.75949 13.069 3.12505 12.9737 3.48069L12.4611 5.39347L14.3739 5.90599C14.7296 6.00129 14.9406 6.36685 14.8453 6.72249C14.75 7.07813 14.3845 7.28919 14.0288 7.19389L10.8281 6.33628L11.6858 3.1356C11.7811 2.77995 12.1466 2.5689 12.5023 2.66419Z"
                fill={color}
            />
        </g>
    </SVG>
);

export default IconSnowflake;
