Controls.svelte 497 B

123456789101112131415161718192021222324
  1. <script>
  2. import { createEventDispatcher } from 'svelte';
  3. const dispatch = createEventDispatcher();
  4. import XMark from '$lib/components/icons/XMark.svelte';
  5. </script>
  6. <div class=" dark:text-white">
  7. <div class="mb-2 flex justify-between items-center">
  8. <div class=" text-xl font-medium font-primary">Chat Controls</div>
  9. <div>
  10. <button
  11. on:click={() => {
  12. dispatch('close');
  13. }}
  14. >
  15. <XMark className="size-4" />
  16. </button>
  17. </div>
  18. </div>
  19. <div>coming soon</div>
  20. </div>