1.0.6 • Published 9 months ago
react-random-quote-generator v1.0.6
react-random-quote-generator
This is a React component that generates random quotes (using https://api.quotable.io).
Installation
npm install react-random-quote-generator
Quick Start
To implement this component in your react app, you have to install it using the command above and import it in your js file.
Example:
import { QuoteGenerator } from "react-random-quote-generator"
function Component() {
// Your code here
return (
<>
<QuoteGenerator />
</>
)
}
export default Component
You can put it inside a div and give it custom padding and width.
Note: the API is currently down.