import React from 'react';
import PropTypes from 'prop-types';

const CircleDashIcon = ({ viewBox, height, width, title, className, fill, ariaHidden, focusable }) => (
  <svg
    width={width}
    height={height}
    viewBox={viewBox}
    className={`${className} svgIcon`}
    fill={fill}
    aria-hidden={ariaHidden}
    focusable={focusable}
  >
    <title>{title}</title>
    <path d="M16,3A13,13,0,1,1,3,16,13.0147,13.0147,0,0,1,16,3m0-3A16,16,0,1,0,32,16,16,16,0,0,0,16,0h0Z" />
    <path d="M24,14H8a2.0025,2.0025,0,0,0,0,4H24A2.0025,2.0025,0,0,0,24,14Z" />
  </svg>
);

CircleDashIcon.propTypes = {
  className: PropTypes.string,
  title: PropTypes.string,
  height: PropTypes.string,
  width: PropTypes.string,
  viewBox: PropTypes.string,
  fill: PropTypes.string,
  ariaHidden: PropTypes.bool,
  focusable: PropTypes.bool,
};

CircleDashIcon.defaultProps = {
  className: 'circle-dash-icon',
  title: 'NYPL Circle Dash SVG Icon',
  width: '24',
  height: '24',
  viewBox: '0 0 32 32',
  fill: '#000',
};

export default CircleDashIcon;
