ultrawidify/src/common/components/shortcut-button.vue

29 lines
341 B
Vue
Raw Normal View History

<template>
<div>
<div class="w100">
{{label}}
</div>
<div class="w100 dark">
<small>
{{shortcut ? `(${shortcut})` : ''}}
</small>
</div>
</div>
</template>
<script>
export default {
props: {
label: String,
shortcut: String
}
}
</script>
<style>
.dark {
opacity: 50%;
}
</style>