1.0.4 • Published 6 years ago
react-svg-holder v1.0.4
React SVG Placeholder
Instalation
npm install react-svg-holder
Usage
import Holder from "react-svg-holder"
const MyComponent = {
return
<Holder width={100} height={100} fill="#ccc" stroke="#bbb" text="Some text" textColor="#aaa" className="my-placeholder" src="/path/to/some/image" />
}
Development
git clone https://github.com/saeedalipoor/react-svg-holder.git
npm install
npm test
License MIT