import React from 'react';

import type { IconProps } from './iconProps';

export const MagicWandIcon = ({
  width = 20,
  height = 20,
  viewBox = '0 0 20 20',
  role = 'image',
  ref,
  ...rest
}: IconProps) => (
  <svg
    ref={ref}
    xmlns="http://www.w3.org/2000/svg"
    fill="none"
    width={width}
    height={height}
    viewBox={viewBox}
    role={role}
    {...rest}
  >
    <path
      fill="currentColor"
      d="M17.564 3.114a.504.504 0 0 0-.678-.678l-2.443 1.245a.5.5 0 0 1-.585-.092l-1.94-1.94a.504.504 0 0 0-.853.435l.428 2.71a.5.5 0 0 1-.268.527L8.78 6.566a.504.504 0 0 0 .15.947l2.148.34L1.72 17.21a.756.756 0 1 0 1.07 1.069l9.356-9.358.34 2.148a.504.504 0 0 0 .947.15l1.245-2.444a.5.5 0 0 1 .528-.268l2.709.429a.504.504 0 0 0 .435-.854l-1.94-1.94a.5.5 0 0 1-.092-.585zM5.345 2.613a.333.333 0 0 0-.637 0L4.302 3.95a.33.33 0 0 1-.222.222l-1.336.407a.333.333 0 0 0 0 .637l1.336.407c.106.032.19.115.222.221l.406 1.336a.333.333 0 0 0 .637 0l.407-1.336a.33.33 0 0 1 .222-.221l1.336-.407a.333.333 0 0 0 0-.637L5.974 4.17a.33.33 0 0 1-.222-.222zM15.422 12.69a.333.333 0 0 0-.637 0l-.407 1.336a.33.33 0 0 1-.221.222l-1.337.407a.333.333 0 0 0 0 .637l1.337.406c.106.033.19.116.221.222l.407 1.336a.333.333 0 0 0 .637 0l.407-1.336a.33.33 0 0 1 .222-.222l1.336-.406a.333.333 0 0 0 0-.637l-1.336-.407a.33.33 0 0 1-.222-.222z"
    />
  </svg>
);
