import React from 'react';
import { CustomSVGProps } from '../type';
import '../index.less';

const Exchange = (props: CustomSVGProps) => (
  <span className={'icon'}>
    <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16" {...props}>
    <path
      fill="currentColor"
      fillRule="nonzero"
      d="M10.146 3.146a.5.5 0 0 1 .708 0l3 3A.5.5 0 0 1 13.5 7h-12a.5.5 0 0 1 0-1h10.793l-2.147-2.146a.5.5 0 0 1-.057-.638l.057-.07Zm-5.291 9.708a.5.5 0 0 1-.708 0l-3-3A.5.5 0 0 1 1.501 9h12a.5.5 0 1 1 0 1H2.708l2.147 2.146a.5.5 0 0 1 .057.638l-.057.07Z"
    />
    </svg>
</span>
);

export default Exchange;
