import React from 'react';

type Props = {
    size?: number;
}

const CloseIcon: React.FC<Props> = ({size = 16}) => (
    <svg
        xmlns='http://www.w3.org/2000/svg'
        width={size}
        height={size}
        viewBox='0 0 24 24'
        fill='none'
        stroke='currentColor'
        strokeWidth='2'
        strokeLinecap='round'
        strokeLinejoin='round'
    >
        <path
            stroke='none'
            d='M0 0h24v24H0z'
            fill='none'
        />
        <path d='M18 6l-12 12'/>
        <path d='M6 6l12 12'/>
    </svg>
);

export default CloseIcon;
