<template>
    
    <v-card
        tile
        flat
        :outlined="registerPage.outlined"
        :height="registerPage.height"
        :width="registerPage.width"
        :color="registerPage.color"
        class="mx-auto d-flex align-center"
    >
        <component
            :is="'register-' + registerPage.currentComponent"
            :app="app"
        >
        </component>
    </v-card>
</template>

<script>
    export default {
        props: {
            app: {required: true},
        },

        computed: {
            registerPage() {
                return this.app.classes.Registerpage;
            }
        },

        components: {
            RegisterForm: require('./Form/RegisterForm').default,
            RegisterThankYou: require('./Thankyou/RegisterThankYou').default,
        },

        name: 'RegisterPage',
    }
</script>