All files / src/svg SnippetIcon.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 32 33 34 35 36 37 38            1x 1x                                           1x 1x              
import React from 'react';
import { SnippetIcon_defaultProps } from './props/defaultProps';
import { SnippetIcon_propTypes } from './props/propTypes';
import SVG from '@zohodesk/svg/lib/SVG/SVG';
export default class SnippetIcon extends React.Component {
  render() {
    let { isRender, isSymbol, className } = this.props;
    return (
      <SVG viewBox='0 0 31 32' name='SnippetIcon' isRender={isRender} isSymbol={isSymbol} className={className}>
        <g>
          <path
            d='M14.4,8.2L15.6,9L16,8.4l-1-0.7l2.5-3.7L11.5,0L8.9,3.8L7.9,3L7.6,3.6l1.2,0.8c-2.3,3-5.9,0.8-6,0.7L2.3,4.9L0,23.8
        l16.6-9.3l-0.4-0.3C15.9,13.9,12.6,11.5,14.4,8.2L14.4,8.2z M1.5,22l5.2-7.7c0.3,0.1,0.6,0.2,0.9,0.2c1.2,0,2.1-0.9,2.2-2.1
        c0-1.2-0.9-2.1-2.1-2.2c-1.2,0-2.1,0.9-2.2,2.1c0,0.6,0.2,1.2,0.7,1.6L1,21.6L2.8,6c1.2,0.6,4.4,1.7,6.5-1.1l4.5,3
        c-1.8,3,0.4,5.6,1.4,6.5L1.5,22L1.5,22z M6.7,13.6c-0.7-0.4-0.8-1.3-0.4-2s1.3-0.8,2-0.4c0.7,0.4,0.8,1.3,0.4,2
        c-0.2,0.3-0.5,0.5-0.9,0.6C7.5,13.9,7.1,13.8,6.7,13.6L6.7,13.6z'
          />
          <path
            style={{ fill: '#03A3FE' }}
            d='M30.9,25c-4.9,0.7-5.4,1.2-5.9,6.7c-0.6-5.4-1.1-6-6.1-6.5c4.9-0.7,5.4-1.2,5.9-6.7
        C25.4,23.9,25.9,24.5,30.9,25z M30.3,8.2c-4.5,0.6-4.9,1.1-5.5,6.3c-0.5-5.3-0.9-5.8-5.4-6.4c4.5-0.6,4.9-1.1,5.5-6.3
        C25.4,7.1,25.8,7.6,30.3,8.2z M16.2,25.7c-4.5,0.6-4.9,1.1-5.5,6.3c-0.5-5.3-0.9-5.8-5.4-6.4c4.5-0.6,4.9-1.1,5.5-6.3
        C11.3,24.6,11.7,25.1,16.2,25.7z'
          />
        </g>
      </SVG>
    );
  }
}
SnippetIcon.propTypes = SnippetIcon_propTypes;
SnippetIcon.defaultProps = SnippetIcon_defaultProps;
 
// if (__DOCS__) {
//   SnippetIcon.docs = {
//     componentGroup: 'SVG'
//   };
// }