1.0.0 • Published 5 years ago
@jsjoeio/react-use-star-wars-quote v1.0.0
@jsjoeio/react-use-star-wars-quote
a custom React Hook that gives you a Star Wars quote
Install
npm install --save @jsjoeio/react-use-star-wars-quote
Usage
import React, { Component } from 'react'
import { useMyHook } from '@jsjoeio/react-use-star-wars-quote'
const Example = () => {
const example = useMyHook()
return (
<div>{example}</div>
)
}
License
MIT © jsjoeio
This hook is created using create-react-hook.
1.0.0
5 years ago