platform/plugins/training-resources/src/components/PanelTitle.svelte
Alexey Zinoviev 48e1ca9849
UBERF-7090: Add QMS plugins (#5716)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-06-03 19:55:54 +04:00

27 lines
572 B
Svelte

<!--
Copyright @ 2024 Hardcore Engineering Inc.
-->
<script lang="ts">
import type { Training } from '@hcengineering/training'
import TrainingPresenter from './TrainingPresenter.svelte'
export let training: Training
</script>
<div class="flex-row-center no-word-wrap">
<div class="flex-row-center flex-gap-1-5">
<TrainingPresenter value={training} disabled accent />
{#if $$slots.extra}
<span></span>
<slot name="extra" />
{/if}
{#if $$slots.state}
<span></span>
<slot name="state" />
{/if}
</div>
</div>