inzynieria_frontend/components/Result.vue

25 lines
485 B
Vue
Raw Normal View History

2021-12-18 17:55:30 +01:00
<template>
2022-01-24 16:29:16 +01:00
<div id="flex">
<div v-if="result" id="true">
<fa :icon="['fas', 'check-circle']" />
CORRECT, THAT'S A CAT
<fa :icon="['fas', 'check-circle']" />
</div>
<div v-else id="false">
<fa :icon="['fas', 'times-circle']" />
WRONG, THATS NOT A CAT
<fa :icon="['fas', 'times-circle']" />
</div>
2021-12-18 17:55:30 +01:00
</div>
</template>
<script>
export default {
props: {
result: {
type: Boolean,
default: null
}
}
}
</script>