mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
25 lines
625 B
JavaScript
25 lines
625 B
JavaScript
import { h } from 'preact';
|
|
import { memo } from 'preact/compat';
|
|
|
|
export function Export({ 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="M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4"
|
|
/>
|
|
</svg>
|
|
);
|
|
}
|
|
|
|
export default memo(Export);
|