<script lang="ts">
  import Modal from "@lib/components2/Modal.svelte"
  import ModalBody from "@lib/components2/ModalBody.svelte"
  import IconPicker from "@app/components/IconPicker.svelte"

  type Props = {
    onSelect: (iconUrl: string) => void
  }

  const {onSelect}: Props = $props()
</script>

<Modal>
  <ModalBody>
    <IconPicker {onSelect} />
  </ModalBody>
</Modal>
