2022-10-06 11:52:30 +00:00
|
|
|
import React from "react";
|
2022-11-18 17:21:13 +00:00
|
|
|
import { COLORS, Colors } from "styles/var/colors";
|
2023-01-10 20:19:46 +00:00
|
|
|
import { ICON_SIZES, IconSizes } from "styles/var/icon_sizes";
|
2022-10-06 11:52:30 +00:00
|
|
|
|
2022-11-18 17:21:13 +00:00
|
|
|
interface IWindowsProps {
|
2023-01-10 20:19:46 +00:00
|
|
|
size: IconSizes;
|
2022-11-18 17:21:13 +00:00
|
|
|
color?: Colors;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Windows = ({
|
|
|
|
size = "medium",
|
|
|
|
color = "ui-fleet-black-75",
|
|
|
|
}: IWindowsProps) => {
|
2022-10-06 11:52:30 +00:00
|
|
|
return (
|
|
|
|
<svg
|
2023-01-10 20:19:46 +00:00
|
|
|
width={ICON_SIZES[size]}
|
|
|
|
height={ICON_SIZES[size]}
|
2022-10-06 11:52:30 +00:00
|
|
|
fill="none"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
2022-11-18 17:21:13 +00:00
|
|
|
viewBox="0 0 16 16"
|
2022-10-06 11:52:30 +00:00
|
|
|
>
|
|
|
|
<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]}
|
2022-10-06 11:52:30 +00:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Windows;
|