react-random-quote-generator

1.0.6 • Public • Published

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.

/react-random-quote-generator/

    Package Sidebar

    Install

    npm i react-random-quote-generator

    Weekly Downloads

    0

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    5.57 kB

    Total Files

    4

    Last publish

    Collaborators

    • amine_el_azzouzi