<template>
  <div class="api-code">
    <slot />
  </div>
</template>

<script>
export default {
  name: 'ApiCode'
}
</script>


<style>
    /*全局*/
    .api-code {
        color: #c7254e;
        background-color: #f9f2f4;
        border-radius: 4px;
        padding: 5px;
        white-space: pre;
        width: fit-content;
    }
    .api-memo {
        color: #9e9e9e;
    }
</style>
