
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-personalizable-modal-by-fatma
Advanced tools
Ce projet vous permet de créer une modale d'une maière simple. Vous pouvez la personaliser en ajoutant de l'animation et vos propres couleurs. ## Utilisation du composant Modal
Ce package vous permet de créer une modale d'une manière simple. Vous pouvez la personnaliser en ajoutant de l'animation et vos propres couleurs.
//Importer le composant Modal
import Modal from "react-personalizable-modal-by-fatma/src/Modal"
//Dans la partie déclaration
const [isOpen,setIsOpen]=useState(false);
//Dans la partie return
<Modal isOpen = {isOpen} setIsOpen={setIsOpen}
type="ERROR"
icone={true}
titre="Titre"
texte="Texte souhaité!"
animation = {true} animationFrom={"LEFT"}
/>
//Au clic sur le bouton
<button onClick={()=>{setIsOpen(true);}}>Ouvrir modal</button>
| Propriété | Valeur | Description |
|---|---|---|
| type | ERROR/SUCCESS | Sin on ne met rien , la modale aura une couleur par défaut et l'icone sera affichée |
| isAnimated | true/false | |
| animationFrom | TOP, BOTTOM, RIGHT,LEFT | La valeur par défaut est TOP |
| bgColor | blue/red/#000… | Permet de changer la couleur du background du header et du bouton. |
| containerStyle | exemple : containerStyle={{width: '400px',height :'100px'}} | |
| textStyle | exemple : textStyle={{fontSize: '20px',text-align:'center'}} | |
| title | string | |
| text | string |
FAQs
Ce projet vous permet de créer une modale d'une maière simple. Vous pouvez la personaliser en ajoutant de l'animation et vos propres couleurs. ## Utilisation du composant Modal
We found that react-personalizable-modal-by-fatma demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.