import { FC } from 'react';

interface IconStarShineProps {
    className?: string;
    fill?: boolean;
    duotone?: boolean;
}

const IconStarShine: FC<IconStarShineProps> = ({ className, fill = false, duotone = true }) => {
    return (
        <>
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" className={className}>
                <g fill="none" stroke="currentColor" strokeWidth="1.5">
                    <path opacity={duotone ? '0.5' : '1'} d="M10.577 8.704C11.21 7.568 11.527 7 12 7s.79.568 1.423 1.704l.164.294c.18.323.27.484.41.59c.14.107.316.147.665.226l.318.072c1.23.278 1.845.417 1.991.888c.147.47-.273.96-1.111 1.941l-.217.254c-.238.278-.357.418-.41.59c-.055.172-.037.358 0 .73l.032.338c.127 1.308.19 1.962-.193 2.253c-.383.29-.958.026-2.11-.504l-.298-.138c-.327-.15-.49-.226-.664-.226c-.173 0-.337.076-.664.226l-.298.138c-1.152.53-1.727.795-2.11.504c-.383-.29-.32-.945-.193-2.253l.032-.338c.037-.372.055-.558 0-.73c-.053-.172-.172-.312-.41-.59l-.217-.254c-.838-.98-1.258-1.47-1.111-1.941c.146-.47.76-.61 1.99-.888l.319-.072c.35-.08.524-.119.665-.225c.14-.107.23-.268.41-.59z" />
                    <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" d="M12 2v2m0 16v2M2 12h2m16 0h2" />
                    <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" d="m6 18l.343-.343M17.657 6.343L18 6m0 12l-.343-.343M6.343 6.343L6 6" />
                </g>
            </svg>
        </>
    );
};

export default IconStarShine;
