Skip to content

matthewBeckwith/react-dadjokes

Repository files navigation

react-dadjokes

ever wanted a random dad joke in your ReactJs project? Well here it is! This is a simple React Component using the API icanhazdadjoke. Just install with NPM or Yarn and include anywhere in your project you'd like a random dad joke!

NPM JavaScript Style Guide

Install

npm install --save react-dadjokes

Usage

import React, { Component } from 'react'

import DadJokesComponent from 'react-dadjokes'
import 'react-dadjokes/dist/index.css'

class Example extends Component {
  render() {
    return <DadJokesComponent />
  }
}

License

MIT © matthewBeckwith

About

React Component to add random dad joke(s) into your project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published