add nova
This commit is contained in:
20
nova/resources/js/components/Buttons/ToolbarButton.vue
Normal file
20
nova/resources/js/components/Buttons/ToolbarButton.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center justify-center w-8 h-8 focus:outline-none focus:ring ring-primary-200 dark:ring-gray-600 rounded-lg"
|
||||
>
|
||||
<slot />
|
||||
<Icon v-if="type" solid :type="type" />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user