npm.io
1.1.2 • Published 4 years ago

random-dog-image

Licence
Version
1.1.2
Deps
10
Size
723 kB
Vulns
0
Weekly
0

random-dog-image (React)

A react component that generates random images of dogs.

Install the package:

npm install random-dog-image

Import the component:

import the react dog image component in your .js file:

 import DogImage from 'random-dog-image'
How to use it:

Add the DogImage element in your JSX:

class Example extends React.Component {
 render() {
   return  <DogImage></DogImage>;
 }
}

How the component will look:

image of the npm package

Hope the dog images will delight your days!

Keywords