add nova
This commit is contained in:
17
nova/resources/js/components/Buttons/InvertedButton.vue
Normal file
17
nova/resources/js/components/Buttons/InvertedButton.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<button
|
||||
type="button"
|
||||
class="space-x-1 cursor-pointer focus:outline-none focus:ring ring-primary-200 dark:ring-gray-600 focus:ring-offset-4 dark:focus:ring-offset-gray-800 rounded-lg mx-auto text-primary-500 font-bold link-default px-3 rounded-b-lg flex items-center"
|
||||
>
|
||||
<Icon :type="iconType" />
|
||||
<span>
|
||||
<slot />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
defineProps({
|
||||
iconType: { type: String, default: 'plus-circle' },
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user