import React from 'react';
import '../index.css';
export default function SparkPauseFill(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-pause-fill';
  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-pause-fill',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-pause-fill',
        '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="M288 265.6v492.8c0 35.3472 28.6528 64 64 64s64-28.6528 64-64V265.6c0-35.3472-28.6528-64-64-64s-64 28.6528-64 64z m320 0v492.8c0 35.3472 28.6528 64 64 64s64-28.6528 64-64V265.6c0-35.3472-28.6528-64-64-64s-64 28.6528-64 64z"></path>' },
      }))
    ],
  }))
}