b07935964b
* Fix: Minor styling/copy updates * Fix linting
28 lines
623 B
Vue
28 lines
623 B
Vue
<template>
|
|
<ProjectEmptyState
|
|
:small="small"
|
|
title="No discussions, yet."
|
|
:text="small ? undefined : 'Open a model and start the collaboration today!'"
|
|
>
|
|
<template #cta>
|
|
<div v-if="showButton" class="mt-3">
|
|
<FormButton :icon-left="PlusIcon" @click="() => $emit('new-discussion')">
|
|
New discussion
|
|
</FormButton>
|
|
</div>
|
|
</template>
|
|
</ProjectEmptyState>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { PlusIcon } from '@heroicons/vue/24/solid'
|
|
|
|
defineEmits<{
|
|
(e: 'new-discussion'): void
|
|
}>()
|
|
|
|
defineProps<{
|
|
small?: boolean
|
|
showButton?: boolean
|
|
}>()
|
|
</script>
|