You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
462 B
32 lines
462 B
<template>
|
|
<div id='qa'>
|
|
<Question :q='q'></Question>
|
|
<Answer :a='a'></Answer>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Question from './Question.vue'
|
|
import Answer from './Answer.vue'
|
|
|
|
export default {
|
|
name: 'QA',
|
|
components: {
|
|
question,
|
|
Answer,
|
|
},
|
|
props: {
|
|
q: String,
|
|
a: String
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
#qa {
|
|
--block-spacing: 7.5em;
|
|
|
|
margin-top: var(--block-spacing);
|
|
margin-bottom: var(--block-spacing);
|
|
}
|
|
</style>
|
|
|