mirror of
https://github.com/owncast/owncast.git
synced 2024-12-29 12:38:31 +03:00
18 lines
527 B
JavaScript
18 lines
527 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 CaretDownIcon = ({ className = 'w-6 h-6' }) => {
|
|
return html`<svg
|
|
class="${className}"
|
|
fill="currentColor"
|
|
viewBox="0 0 20 20"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
fill-rule="evenodd"
|
|
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
|
|
clip-rule="evenodd"
|
|
></path>
|
|
</svg>`;
|
|
};
|