FormWrapper.vue 639 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <responsive-width-wrapper>
  3. <h1 class="title has-text-grey-dark" v-html="title" v-if="title"></h1>
  4. <div id="punchline" v-if="punchline" class="block" v-html="punchline"></div>
  5. <slot />
  6. </responsive-width-wrapper>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'FormWrapper',
  11. data() {
  12. return {
  13. }
  14. },
  15. props: {
  16. title: {
  17. type: String,
  18. default: ''
  19. },
  20. punchline: {
  21. type: String,
  22. default: ''
  23. },
  24. }
  25. }
  26. </script>