import React from 'react';
import '../index.css';
export default function SparkCirclePlayLine(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-circlePlay-line';
  const className = [
    icon,
    spin ? 'spark-icon-spin' : '',
    props.className || ''
  ].filter(Boolean).join(' ');
  
  return React.createElement('span', Object.assign({}, restProps, {
    className: className,
    style: {
      ...props.style,
      fontSize: size || props.style?.fontSize || undefined,
      cursor: props.onClick ? 'pointer' : props.style?.cursor
    },
    role: 'img',
    'aria-label': 'spark-circlePlay-line',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-circlePlay-line',
        'data-spark-icon': true, // 标识为 spark-icon 组件
        width: '1em',
        height: '1em',
        viewBox: '0 0 1024 1024',
        overflow: 'hidden',
        fill: 'currentColor',
        'aria-hidden': 'true',
        dangerouslySetInnerHTML: { __html: '<path d="M128.000037 511.999951a383.999963 383.999963 0 1 1 767.999926 0 383.999963 383.999963 0 0 1-767.999926 0z m63.999994 0a319.999969 319.999969 0 1 0 639.999938 0 319.999969 319.999969 0 0 0-639.999938 0z m290.303972-119.091188l78.847992 45.465595 78.796793 45.414396a39.935996 39.935996 0 0 1 0 69.222393l-78.796793 45.363196-78.847992 45.516796a39.935996 39.935996 0 0 1-59.903994-34.611197V427.519959c0-30.719997 33.279997-49.971195 59.903994-34.611196z"></path>' },
      }))
    ],
  }))
}