import React from 'react';

export default function SquareToggle({
  size = 24,
  color = 'currentColor',
  ...restProps
}) {
  return (
    <svg
      xmlns='http://www.w3.org/2000/svg'
      className='icon icon-tabler icon-tabler-square-toggle'
      width={size}
      height={size}
      viewBox='0 0 24 24'
      stroke={color}
      strokeWidth='2'
      fill='none'
      strokeLinecap='round'
      strokeLinejoin='round'
      {...restProps}
    >
      <path stroke='none' d='M0 0h24v24H0z' fill='none' />
      <line x1='12' y1='2' x2='12' y2='22' />
      <path d='M14 20h-8a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h8' />
      <path d='M20 6a2 2 0 0 0 -2 -2' />
      <path d='M18 20a2 2 0 0 0 2 -2' />
      <line x1='20' y1='10' x2='20' y2='14' />
    </svg>
  );
}
