mirror of
https://github.com/owncast/owncast.git
synced 2024-12-29 12:38:31 +03:00
22 lines
553 B
JavaScript
22 lines
553 B
JavaScript
import { h } from '/js/web_modules/preact.js';
|
|
import htm from '/js/web_modules/htm.js';
|
|
const html = htm.bind(h);
|
|
|
|
export const UserIcon = ({ className }) => {
|
|
return html`
|
|
<svg
|
|
class="${className}"
|
|
fill="currentColor"
|
|
stroke="currentColor"
|
|
viewBox="0 0 24 24"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
stroke-width="4"
|
|
d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
|
|
></path>
|
|
</svg>
|
|
`;
|
|
};
|