Comparing version 2.1.3 to 2.1.4
{ | ||
"name": "popupz", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "A simple and customizable popup notification/modal library for React applications.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import React, { createContext, useContext, useState } from 'react'; | ||
import Popz from './Popz'; | ||
import './index.css'; | ||
@@ -27,5 +28,5 @@ const PopzContext = createContext(); | ||
{popzQueue.length > 0 && ( | ||
<div className='fixed top-[20px] right-[20px] min-w-52'> | ||
<div className='container'> | ||
{popzQueue.map((pop) => ( | ||
<div key={pop.id} className='my-1'> | ||
<div key={pop.id} className='popzSpace'> | ||
<Popz theme={pop.theme} type={pop.type} message={pop.message} progressBar={pop.progressBar} /> | ||
@@ -32,0 +33,0 @@ </div> |
Sorry, the diff of this file is not supported yet
11100
245