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

28 lines
375 B
Vue
Raw Normal View History

<template>
2019-01-03 02:05:54 +01:00
<div class="flex flex-column">
<div class="flex w100">
{{label}}
</div>
2019-01-03 02:05:54 +01:00
<div class="flex w100 dark">
<small>
{{shortcut ? `(${shortcut})` : ''}}
</small>
</div>
</div>
</template>
<script>
export default {
props: {
label: String,
shortcut: String
}
}
</script>
<style>
.dark {
opacity: 50%;
}
</style>