mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 10:46:43 +00:00
36 lines
934 B
Vue
36 lines
934 B
Vue
<script lang="ts" setup>
|
|
interface Props {
|
|
docs: SupportedDocsType[]
|
|
}
|
|
|
|
withDefaults(defineProps<Props>(), {
|
|
docs: () => [],
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="w-full flex flex-col gap-3">
|
|
<div class="text-sm text-nc-content-gray font-semibold">
|
|
<slot name="title">
|
|
{{ $t('labels.supportDocs') }}
|
|
</slot>
|
|
</div>
|
|
|
|
<div>
|
|
<div v-for="(doc, idx) of docs" :key="idx" class="flex items-center gap-1">
|
|
<div class="h-7 w-7 flex items-center justify-center">
|
|
<GeneralIcon icon="bookOpen" class="flex-none w-4 h-4 nc-modal-docs-icon text-nc-content-gray-subtle2" />
|
|
</div>
|
|
<a
|
|
:href="doc.href"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
class="!text-nc-content-gray-subtle text-sm nc-modal-docs-link !no-underline !hover:underline"
|
|
>
|
|
{{ doc.title }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|