UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

2 lines (1 loc) 193 B
import{inject as o}from"vue";const r=Symbol();function n(){const n=o(r);if(!n)throw new Error("No PrimeVue Confirmation provided!");return n}export{r as PrimeVueConfirmSymbol,n as useConfirm};