usePlacecage
A React Hook to generate placecage.com placeholder image URLs
github.com/colbyfayock/use-my-custom-hook
How to use
Add your instructions here!
Examples
Set and grab message
Input:
const hookSettings = {
type: 'gif',
width: 500,
height: 500,
count: 2
}
const cage = usePlaceCage(hookSettings);
Output:
["https://www.placecage.com/gif/500/500","https://www.placecage.com/gif/500/500"]