fleet/frontend/components/icons/Windows.tsx

31 lines
741 B
TypeScript
Raw Normal View History

import React from "react";
2022-11-18 17:21:13 +00:00
import { COLORS, Colors } from "styles/var/colors";
import { ICON_SIZES, IconSizes } from "styles/var/icon_sizes";
2022-11-18 17:21:13 +00:00
interface IWindowsProps {
size: IconSizes;
2022-11-18 17:21:13 +00:00
color?: Colors;
}
const Windows = ({
size = "medium",
color = "ui-fleet-black-75",
}: IWindowsProps) => {
return (
<svg
width={ICON_SIZES[size]}
height={ICON_SIZES[size]}
fill="none"
xmlns="http://www.w3.org/2000/svg"
2022-11-18 17:21:13 +00:00
viewBox="0 0 16 16"
>
<path
2022-11-18 17:21:13 +00:00
d="m1.092 13.142 5.192 1.038V8.32H1.092v4.822ZM1.092 7.665h5.192V1.836L1.092 2.874v4.79ZM7.11 7.665h8.382V0L7.11 1.677v5.988ZM7.11 14.34 15.491 16V8.32H7.11v6.02Z"
fill={COLORS[color]}
/>
</svg>
);
};
export default Windows;