random-dog-image
v1.1.2
Published
A react component that generates random images of dogs. ### Install the package: > `npm install random-dog-image`
Downloads
13
Maintainers
Readme
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>;
}
}