random-dog-image

1.1.2 • Public • Published

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!

Package Sidebar

Install

npm i random-dog-image

Weekly Downloads

2

Version

1.1.2

License

none

Unpacked Size

741 kB

Total Files

17

Last publish

Collaborators

  • filiphuhta