mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
1a7b570c82
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
15 lines
193 B
Vue
15 lines
193 B
Vue
<script setup>
|
|
defineProps({
|
|
color: {
|
|
type: String,
|
|
default: 'black'
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<button class="ui-button" :style="{ color }">
|
|
<slot />
|
|
</button>
|
|
</template>
|