element-plus/docs/.vitepress/vitepress/components/globals/vp-api-primitive.vue
Jeremy a329ed6e2e
feat(docs): [components] additions (#10374)
* Add primitive-type api component.
* Add [number, string, boolean] type component.
2022-11-03 14:01:20 +08:00

15 lines
163 B
Vue

<script setup lang="ts">
defineProps({
type: {
type: String,
required: true,
},
})
</script>
<template>
<code>
{{ type }}
</code>
</template>