Add deprecation notice

pull/5677/head
Cagatay Civici 2024-04-29 12:18:36 +03:00
parent b29e165d35
commit 142524f06e
2 changed files with 9 additions and 8 deletions

View File

@ -145,15 +145,15 @@
@include doc-link(); @include doc-link();
} }
} }
}
.notification { .doc-notification {
line-height: 1.5; line-height: 1.5;
padding: 1rem; padding: 1rem;
font-weight: 500; font-weight: 500;
border-radius: 10px; border-radius: 10px;
background: var(--mark-background); background: var(--mark-background);
color: var(--mark-text); color: var(--mark-text);
}
} }
.doc-section-nav { .doc-section-nav {

View File

@ -1,4 +1,5 @@
<template> <template>
<div class="doc-notification">TabView is deprecated, use <NuxtLink to="/tabs" class="doc-link">Tabs</NuxtLink> instead.</div>
<DocSectionText v-bind="$attrs" /> <DocSectionText v-bind="$attrs" />
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz /> <DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</template> </template>