import { JSX } from 'solid-js/jsx-runtime';

const defaultButtonColor = '#3B81F6';

export const MinimizeIcon = (props: JSX.SvgSVGAttributes<SVGSVGElement>) => (
  <svg 
    xmlns="http://www.w3.org/2000/svg" 
    viewBox="0 0 24 24" 
    width="20px" 
    height="20px"
    fill="none"
    stroke={props.color ?? defaultButtonColor}
    stroke-width="2"
    stroke-linecap="round"
    stroke-linejoin="round"
    {...props}
  >
    <path d="M6 9L12 15L18 9" />
  </svg>
);