mirror of
https://github.com/hanzoai/vitest.git
synced 2026-10-30 14:46:34 +00:00
Co-authored-by: marchantweb <[email protected]> Co-authored-by: mdong1909 <[email protected]> Co-authored-by: Hiroshi Ogawa <[email protected]> Co-authored-by: Vladimir Sheremet <[email protected]> Co-authored-by: Michael Dong <[email protected]> Co-authored-by: Ujjwaljain16 <[email protected]> Co-authored-by: sheremet-va <[email protected]> Co-authored-by: hi-ogawa <[email protected]> Co-authored-by: Ari Perkkiƶ <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Carlo Jeske <[email protected]> Co-authored-by: Hanzo Dev <[email protected]>
17 lines
407 B
Vue
17 lines
407 B
Vue
<script setup lang="ts">
|
|
import { VPBadge } from '@voidzero-dev/vitepress-theme'
|
|
|
|
const { type = 'stable' } = defineProps<{
|
|
type?: 'stable' | 'experimental'
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<VPBadge
|
|
:type="type === 'experimental' ? 'warning' : 'info'"
|
|
:title="type === 'experimental' ? 'This feature is experimental and does not follow SemVer.' : undefined"
|
|
>
|
|
<slot />+
|
|
</VPBadge>
|
|
</template>
|