1234567891011121314151617181920212223 |
- <template>
- <i :class="classes"></i>
- </template>
- <script>
- export default {
- name: "right-or-wrong",
- props: {
- status: {
- type: Boolean,
- },
- },
- computed: {
- classes() {
- return [
- "right-or-wrong",
- "icon",
- this.status ? "icon-right" : "icon-wrong",
- ];
- },
- },
- };
- </script>
|