summaryrefslogtreecommitdiffstats
path: root/apps/web-shared/src/components/locale-switcher-icon.svelte
blob: d2776a17b62b2eb75282c7f8f550057e8c724e95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script>
	import {GlobeIcon} from "svelte-feather-icons";

	export let show = false;
	export let selection = "preffered";
</script>
<div data-locale-switcher-element
     class="ld-switch flex">
    <button class="reset ld-switch-btn"
            on:click={() => (show = !show)}>
        <div class="ld-switch-btn__icon-wrapper ld-switch-btn__icon-wrapper--in"
             aria-hidden="true">
            <GlobeIcon/>
        </div>
    </button>
</div>