1.1.2 • Published 4 years ago
random-dog-image v1.1.2
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:
