Nuxt/examples/config-extends/ui/components/Button.vue

15 lines
193 B
Vue
Raw Normal View History

<script setup>
defineProps({
color: {
type: String,
default: 'black'
}
})
</script>
<template>
<button class="ui-button" :style="{ color }">
<slot />
</button>
</template>