Skip to content

Commit

Permalink
feat: add update email modal to user package
Browse files Browse the repository at this point in the history
  • Loading branch information
KabinKhandThakuri committed Jan 6, 2025
1 parent c8d21a5 commit e6c455c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions packages/vue-user/src/components/profile/UpdateEmailModal.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<template>
<Modal
class="update-email-modal"
:show="show"
:title="t('user.profile.accountInfo.title')"
>
<UpdateEmailForm />
</Modal>
</template>

<script lang="ts">
export default {
name: "DataElement",
};
</script>

<script setup lang="ts">
import { useI18n } from "@dzangolab/vue3-i18n";
import { Modal } from "@dzangolab/vue3-ui";
import UpdateEmailForm from "./UpdateEmailForm.vue";
import { useTranslations } from "../../index";
const messages = useTranslations();
const { t } = useI18n({ messages });
defineProps({
show: {
default: false,
type: Boolean,
},
});
</script>

0 comments on commit e6c455c

Please sign in to comment.