<script lang="ts">
import {defineComponent, PropType} from 'vue';

export default defineComponent({
	props: {
		disabled: {type: Boolean, default: false},
	},
});
</script>

<template>
<button :disabled="disabled"
	class="block rounded px-4 py-2"
	:class="{'hover:brightness-125': !disabled, 'brightness-75': disabled}">
	<slot>?</slot>
</button>
</template>
