forked from nikita/muzika-gromche
19 lines
363 B
Vue
19 lines
363 B
Vue
<script setup lang="ts">
|
|
import type { Component } from 'vue'
|
|
import classes from './ToolBar.module.css'
|
|
|
|
defineProps<{
|
|
icon: string | Component
|
|
disabled?: boolean
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<button type="button" :class="[classes.toolButton, classes.toolButtonSmall]" :disabled>
|
|
<component :is="icon" />
|
|
</button>
|
|
</template>
|
|
|
|
<style scoped>
|
|
</style>
|