Socket
Socket
Sign inDemoInstall

@makabay/customizedmodal

Package Overview
Dependencies
6
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.22 to 0.1.23

47

dist/components/CustomizedModalConvert.js

@@ -1,46 +0,1 @@

// React
import React from "react";
// Style
import './customizedModal.css';
export default function CustomizedModal(props) {
const { closeButtonText, textNotification, confirmationText, modalState, changeModalState } = props;
function closeModal() {
changeModalState(!modalState);
}
return React.createElement(
'div',
{ className: modalState ? 'background-modal' : 'background-modal-display-none' },
React.createElement(
'div',
{ className: 'background-modal__customized-modal' },
React.createElement(
'header',
{ className: 'background-modal__customized-modal__header' },
React.createElement(
'button',
{ onClick: closeModal, className: 'background-modal__customized-modal__header__close-button customized-modal-button' },
closeButtonText
)
),
React.createElement(
'div',
{ className: 'background-modal__customized-modal__content' },
React.createElement(
'p',
{ className: 'background-modal__customized-modal__content__text' },
textNotification
),
React.createElement(
'button',
{ onClick: closeModal, className: 'background-modal__customized-modal__content__valide-button customized-modal-button' },
confirmationText
)
)
)
);
}
import e from"react";import"./customizedModal.css";export default function t(t){const{closeButtonText:o,textNotification:a,confirmationText:c,modalState:d,changeModalState:m}=t;function n(){m(!d)}return e.createElement("div",{className:d?"background-modal":"background-modal-display-none"},e.createElement("div",{className:"background-modal__customized-modal"},e.createElement("header",{className:"background-modal__customized-modal__header"},e.createElement("button",{onClick:n,className:"background-modal__customized-modal__header__close-button customized-modal-button"},o)),e.createElement("div",{className:"background-modal__customized-modal__content"},e.createElement("p",{className:"background-modal__customized-modal__content__text"},a),e.createElement("button",{onClick:n,className:"background-modal__customized-modal__content__valide-button customized-modal-button"},c))))}

4

package.json
{
"name": "@makabay/customizedmodal",
"version": "0.1.22",
"version": "0.1.23",
"type": "module",

@@ -12,2 +12,4 @@ "main": "dist/index.js",

},
"description": "Enjoy a simple customized modal package, ease of use.",
"keywords": ["modal", "customized", "simple", "simple modal customized"],
"scripts": {

@@ -14,0 +16,0 @@ "dev": "vite",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc