English
Prop Validation
By Lov`u`e @heappynd
Please validate the type
prop of the Button
component. it's accept the following strings primary | ghost | dashed | link | text | default
only and the default value is default
.
<script setup>
defineProps({
type: {},
})
</script>
<template>
<button>Button</button>
</template>