anephenix/ui

View on GitHub
src/components/close-icon/CloseIcon.jsx

Summary

Maintainability
A
35 mins
Test Coverage
F
50%
import React from 'react';

const CloseIcon = ({ width, height }) => (
    <svg
        width={width || '26px'}
        height={height || '26px'}
        viewBox="0 0 26 26"
        version="1.1"
        xmlns="http://www.w3.org/2000/svg"
        xmlnsXlink="http://www.w3.org/1999/xlink"
    >
        <g
            id="containing-group"
            stroke="none"
            strokeWidth="1"
            fill="none"
            fillRule="evenodd"
            strokeLinecap="round"
            strokeLinejoin="round"
        >
            <g
                id="9.7”-iPad"
                transform="translate(-681.000000, -23.000000)"
                stroke="#000"
                strokeWidth="3"
            >
                <g id="Group-2" transform="translate(683.000000, 25.000000)">
                    <path
                        d="M0.315354693,22.0054813 L22.320836,0"
                        id="Line-3"
                    ></path>
                    <path d="M0.320836027,0 L22.320836,22" id="Line-3"></path>
                </g>
            </g>
        </g>
    </svg>
);

export default CloseIcon;