Started working on flags.

This commit is contained in:
NewHappyRabbit
2025-02-11 17:51:01 +02:00
parent fbd6c50b11
commit 3230151077
276 changed files with 27210 additions and 16164 deletions
+25
View File
@@ -0,0 +1,25 @@
import { LitElement, html, css } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import Countries from '../data/countries.json';
@customElement('flag-input')
export class FlagInput extends LitElement {
@state() private flag: string = '';
static styles = css``;
render() {
return html`
<div>
<div class="selectIcon"></div>
<div class="dropdown">
<!-- Show each flag as button -->
<div>
<img class="flag" src=${'asd'} />
<span>test</span>
</div>
</div>
</div>
`;
}
}