Chat menu restyle (#1844)
* Chat menu restyle * Update username.js updated span to have id #username-display. Needed for tests * removed chat menu failing tests * hide form on username change (while same username) * fixed onusernamechange handler * resized username label, removed some margins * removed commented out code
This commit is contained in:
14
webroot/js/components/icons/CheckIcon.js
Normal file
14
webroot/js/components/icons/CheckIcon.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { h } from '/js/web_modules/preact.js';
|
||||
import htm from '/js/web_modules/htm.js';
|
||||
const html = htm.bind(h);
|
||||
|
||||
export const CheckIcon = ({ className = 'w-6 h-6' }) => {
|
||||
return html`<svg
|
||||
class="${className}"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
||||
</svg>`
|
||||
}
|
||||
Reference in New Issue
Block a user