2017-04-11 13:50:21 -04:00
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
type: {
|
|
|
|
type: String,
|
|
|
|
required: false,
|
|
|
|
},
|
|
|
|
count: {
|
|
|
|
type: Number,
|
|
|
|
required: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
2017-10-03 20:07:41 -04:00
|
|
|
<template>
|
|
|
|
<div class="prompt">
|
|
|
|
<span v-if="type && count">
|
|
|
|
{{ type }} [{{ count }}]:
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2017-04-11 13:50:21 -04:00
|
|
|
<style scoped>
|
|
|
|
.prompt {
|
|
|
|
padding: 0 10px;
|
|
|
|
min-width: 7em;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
</style>
|