17 lines
538 B
Vue
17 lines
538 B
Vue
<script setup lang="ts">
|
|
const ed = useEditor()
|
|
const close = () => (ed.dialog.value = null)
|
|
</script>
|
|
|
|
<template>
|
|
<div class="modal-backdrop" @click.self="close">
|
|
<div class="modal" role="dialog" aria-labelledby="projects-title">
|
|
<div class="flex items-start justify-between gap-4">
|
|
<h2 id="projects-title">Projects</h2>
|
|
<button class="tb-btn" title="Close" @click="close"><Icon name="lucide:x" class="size-4" /></button>
|
|
</div>
|
|
<EditorProjectList @done="close" />
|
|
</div>
|
|
</div>
|
|
</template>
|