<script setup>
import {ref, computed} from 'vue';
defineProps({
showBgBlue: {
type: Boolean,
default: true
},
});
const mainClass = computed({
get() {
var class = '';
if (this.showBgBlue) {
class = 'bg-blueGray-50 py-12';
}else{
class = 'bg-white';
}
return class;
}
});
</script>
const props = defineProps({
showBgBlue: {
type: Boolean,
default: true,
},
});
const mainClass = computed(() => props.showBgBlue ? 'bg-blueGray-50 py-12' : 'bg-white');