FormWrapper.vue 568 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div class="columns is-centered">
  3. <div class="form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd">
  4. <h1 class="title" v-html="title" v-if="title"></h1>
  5. <slot />
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. export default {
  11. name: 'FormWrapper',
  12. data() {
  13. return {
  14. }
  15. },
  16. props: {
  17. title: {
  18. type: String,
  19. default: ''
  20. },
  21. }
  22. }
  23. </script>