import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useWishlistStore = defineStore('wishlistStore', () => {
    const isLoading = ref<boolean>(false)
    const showPopup = ref<boolean>(false)
    const popupTitle = ref<string>('')
    const editedRowKey = ref<any>(null)
    const openDrawer = ref<boolean>(false)

    return {
        isLoading,
        showPopup,
        popupTitle,
        editedRowKey,
        openDrawer,
    }
});