docs(components): [api-typing] (#10355)

* Add slot for api-typing

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
This commit is contained in:
Jeremy 2022-11-01 22:35:48 +08:00 committed by GitHub
parent dd65c73870
commit 364d1a24fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,11 +15,13 @@ defineProps({
<el-tooltip effect="light" trigger="click">
<el-button text :icon="Warning" class="p-2 text-4" />
<template #content>
<div class="m-1">
<code>
{{ details }}
</code>
</div>
<slot>
<div class="m-1">
<code>
{{ details }}
</code>
</div>
</slot>
</template>
</el-tooltip>
</span>