UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

14 lines (11 loc) 324 B
import { inject } from 'vue'; var PrimeVueToastSymbol = Symbol(); function useToast() { var PrimeVueToast = inject(PrimeVueToastSymbol); if (!PrimeVueToast) { throw new Error('No PrimeVue Toast provided!'); } return PrimeVueToast; } export { PrimeVueToastSymbol, useToast }; //# sourceMappingURL=index.mjs.map