react image filler
1.0.0

React Image Fillerは、幅、高さ、テキスト、色、背景色などのカスタマイズ可能なプロパティでプレースホルダー画像を生成できる便利なReactコンポーネントです。これは、まだロードされていない、またはオプションの画像のためにスペースを確保する必要があるシナリオで特に役立ちます。
目次
npm install react-image-filler --save
# or
yarn add react-image-filler import ImageFiller from 'react-image-filler' ;
const App = ( ) => {
return (
< div >
< ImageFiller width = { 200 } height = { 200 } />
</ div >
) ;
} | 小道具 | タイプ | デフォルト | 説明 |
|---|---|---|---|
width | 番号 | 100 | 画像の幅 |
height | 番号 | 100 | 画像の高さ |
text | 弦 | プレースホルダー | 画像のテキスト |
color | 弦 | #6A6A6A | 画像のテキスト色 |
background | 弦 | #dddddd | 画像の背景色 |
React-Image-Fillerのようなオープンソースプロジェクトに貢献することは、やりがいのある体験になる可能性があります。コーディングスキルを向上させるだけでなく、より幅広い開発者コミュニティにも貢献します。
このプロジェクトに貢献することに興味がある場合、改善、バグの修正、または新機能を通じて、次の手順は次のとおりです。
git checkout -b feature/AmazingFeatureで実行できます。git commit -m 'Add some AmazingFeature'で実行できます。git push origin feature/AmazingFeatureで実行できます。