All files / src/components/Icons/SunIcon SunIcon.jsx

0% Statements 0/4
100% Branches 0/0
0% Functions 0/1
0% Lines 0/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88                                                                                                                                                                               
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
 
class SunIcon extends PureComponent {
  static propTypes = {
    className: PropTypes.string,
  };
 
  static defaultProps = {
    className: '',
  };
 
  render() {
    const { className } = this.props;
 
    return (
      <svg viewBox="0 0 64 64" className={className}>
        <g>
          <circle
            strokeMiterlimit="10"
            cx="32"
            cy="32"
            r="16"
          />
          <line
            strokeMiterlimit="10"
            x1="32"
            y1="10"
            x2="32"
            y2="0"
          />
          <line
            strokeMiterlimit="10"
            x1="32"
            y1="64"
            x2="32"
            y2="54"
          />
          <line
            strokeMiterlimit="10"
            x1="54"
            y1="32"
            x2="64"
            y2="32"
          />
          <line
            strokeMiterlimit="10"
            x1="0"
            y1="32"
            x2="10"
            y2="32"
          />
          <line
            strokeMiterlimit="10"
            x1="48"
            y1="16"
            x2="53"
            y2="11"
          />
          <line
            strokeMiterlimit="10"
            x1="11"
            y1="53"
            x2="16"
            y2="48"
          />
          <line
            strokeMiterlimit="10"
            x1="48"
            y1="48"
            x2="53"
            y2="53"
          />
          <line
            strokeMiterlimit="10"
            x1="11"
            y1="11"
            x2="16"
            y2="16"
          />
        </g>
      </svg>
    );
  }
}
 
export default SunIcon;