react image filler
1.0.0

React Image Filler is a handy React component that allows you to generate placeholder images with customizable properties such as width, height, text, color, and background color. This is particularly useful in scenarios where you need to reserve space for images that are yet to load or are optional.
Table of Contents
npm install react-image-filler --save
# or
yarn add react-image-fillerimport ImageFiller from 'react-image-filler';
const App = () => {
return (
<div>
<ImageFiller width={200} height={200} />
</div>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
width |
number | 100 | Width of the image |
height |
number | 100 | Height of the image |
text |
string | Placeholder | text of the image |
color |
string | #6a6a6a | text color of the image |
background |
string | #dddddd | background color of the image |
Contributing to open-source projects like react-image-filler can be a rewarding experience. You not only get to improve your coding skills but also contribute to the broader developer community.
If you are interested in contributing to this project, whether it be through improvements, bug fixes, or new features, here are the steps you need to follow:
git checkout -b feature/AmazingFeature.git commit -m 'Add some AmazingFeature'.git push origin feature/AmazingFeature.