
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
react-dummy-image
Advanced tools
A React library for creating test images to use as a development model
A React library for creating test images to use as a development model
Overview | Technologies | Install | How To Use | License
Based on Russell Heimlich's concept at http://dummyimage.com this is a port for React to allow you generate dummy images of any specified dimension. A simple app to generate dummy/filler images on the fly at whatever size you want.
This project was developed with the following technologies:
npm install --save react-dummy-image
or
yarn add react-dummy-image
import React, { Component } from 'react';
import DummyImage from 'react-dummy-image';
const Example = () => {
return (
<div className={'mycontainer'}>
<DummyImage text="Colors" color="#ff0000" textColor="#ffffff" />
<br />
<DummyImage text="Format.jpg" format={'jpg'} />
<br />
<DummyImage text="Class" className={'myimage'} />
</div>
);
};
export default Example;
This project is under the MIT license. See the LICENSE for more information.
Made with
by Jonathan Reis
Get in touch!
FAQs
A React library for creating test images to use as a development model
The npm package react-dummy-image receives a total of 8 weekly downloads. As such, react-dummy-image popularity was classified as not popular.
We found that react-dummy-image 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.