
/**
 * Display overlay with dynamic parameters.
 * @param {Object} options - Overlay configuration.
 * @param {string} options.icon - Icon to display in the overlay.
 * @param {string} options.message - Message to display in the overlay.
 * @param {string} options.buttonText - Button text to display in the overlay.
 * @param {string} options.iconColor - Icon color to display in the overlay.
 * @param {Ref<boolean>} overlay - Reactive overlay state.
 */
export const showOverlay = (options, overlay) => {
    const { icon, message, buttonText, iconColor } = options;

   overlay.value = {
        icon,
        message,
        buttonText,
        iconColor,
        visible: true,
    };
};
