import React, { VFC } from "react";
import type { IconProps } from "./types";
export const TrashIcon: VFC<IconProps> = ({
size = 24,
color = "currentColor",
}) => {
const sizeProps = {
width: size,
height: size,
viewBox: "0 0 24 24",
};
return (
<div
aria-label={"trash"}
aria-roledescription={"icon"}
style={{ width: sizeProps.width, height: sizeProps.height }}
>
<svg {...sizeProps} fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M17 5V4C17 2.89543 16.1046 2 15 2H9C7.89543 2 7 2.89543 7 4V5H4C3.44772 5 3 5.44772 3 6C3 6.55228 3.44772 7 4 7H5V18C5 19.6569 6.34315 21 8 21H16C17.6569 21 19 19.6569 19 18V7H20C20.5523 7 21 6.55228 21 6C21 5.44772 20.5523 5 20 5H17ZM15 4H9V5H15V4ZM17 7H7V18C7 18.5523 7.44772 19 8 19H16C16.5523 19 17 18.5523 17 18V7Z"
fill={color}
/>
<path d="M9 9H11V17H9V9Z" fill={color} />
<path d="M13 9H15V17H13V9Z" fill={color} />
</svg>
</div>
);
};