Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 137x | import React from "react";
interface IconProps {
height?: number;
width?: number;
color?: string;
}
const Icon = ({ color, height = 24, width = 24 }: IconProps) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={height}
fill="none"
viewBox="0 0 24 24"
>
<path
stroke={color}
strokeLinecap="round"
strokeWidth="1.2"
d="M5 9h3m8 6h3M7 18h10c1.886 0 2.828 0 3.414-.586C21 16.828 21 15.886 21 14v-4c0-1.886 0-2.828-.586-3.414C19.828 6 18.886 6 17 6H7c-1.886 0-2.828 0-3.414.586C3 7.172 3 8.114 3 10v4c0 1.886 0 2.828.586 3.414C4.172 18 5.114 18 7 18zm7-6a2 2 0 11-4 0 2 2 0 014 0z"
></path>
</svg>
);
};
export default Icon;
|