mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
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:
parent
dd65c73870
commit
364d1a24fc
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user