All files / src/svg PlusIcon.js

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/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            1x 1x                             1x 1x              
import React from 'react';
import { PlusIcon_defaultProps } from './props/defaultProps';
import { PlusIcon_propTypes } from './props/propTypes';
import SVG from '@zohodesk/svg/lib/SVG/SVG';
export default class PlusIcon extends React.Component {
  render() {
    let { isRender, isSymbol, className } = this.props;
    return (
      <SVG viewBox='0 0 32 32' name='PlusIcon' isRender={isRender} isSymbol={isSymbol} className={className}>
        <g>
          <path
            style={{ fill: '#767d89' }}
            d='M16,2.7c0.4,0,0.7,0.1,0.9,0.4s0.4,0.6,0.4,0.9v10.7H28c0.4,0,0.7,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9
      c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4H17.3V28c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4c-0.4,0-0.7-0.1-0.9-0.4
      c-0.3-0.3-0.4-0.6-0.4-0.9V17.3H4c-0.4,0-0.7-0.1-0.9-0.4S2.7,16.4,2.7,16s0.1-0.7,0.4-0.9c0.3-0.3,0.6-0.4,0.9-0.4h10.7V4
      c0-0.4,0.1-0.7,0.4-0.9C15.3,2.8,15.6,2.7,16,2.7z'
          />
        </g>
      </SVG>
    );
  }
}
PlusIcon.propTypes = PlusIcon_propTypes;
PlusIcon.defaultProps = PlusIcon_defaultProps;
 
// if (__DOCS__) {
//   PlusIcon.docs = {
//     componentGroup: 'SVG'
//   };
// }