@yoieh/use-holderjs
v0.0.11
Published
React hook to run holderjs, useHolderjs()
Downloads
8
Readme
use-holderjs
working example: here
Install
npm install --save use-holderjs
Usage
import * as React from 'react'
import { useHolderjs } from 'use-holderjs'
const Example = () => {
useHolderjs();
return (
<div>
<img data-src="holder.js/300x200"/>
</div>
)
}
License
MIT © yoieh
This hook is created using create-react-hook.