react-svg-holder

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i react-svg-holder

Weekly Downloads

19

Version

1.0.4

License

MIT

Last publish

Collaborators

  • farskid
  • saeedalipoor