mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-09 14:55:43 +03:00
26 lines
728 B
JavaScript
26 lines
728 B
JavaScript
import { h } from 'preact';
|
|
import { memo } from 'preact/compat';
|
|
|
|
export function Zone({ className = 'h-6 w-6', stroke = 'currentColor', fill = 'none', onClick = () => {} }) {
|
|
return (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={className}
|
|
fill={fill}
|
|
viewBox="0 0 24 24"
|
|
stroke={stroke}
|
|
onClick={onClick}
|
|
>
|
|
<path
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
stroke-width="2"
|
|
d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"
|
|
/>
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
|
|
</svg>
|
|
);
|
|
}
|
|
|
|
export default memo(Zone);
|