1.1.2 • Published 2 years ago

random-dog-image v1.1.2

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

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!