paroot-react

0.1.2 • Public • Published

paroot-react@0.1.2

React integration for paroot

Installation

Add paroot-react as a dependency in your react project

npm install --save paroot-react

Import the default exported component for all parts

    import Paroot from 'paroot-react'

    return (
        <Paroot
            auth={auth}
            db={db}
            bgColor="#FFFFFF"
            textColor="#000000"
            primaryColor="#0000FF"
        />
    )

Or import any component you need

    import { Votes, Roadmap, SuggestionForm } from 'paroot-react'

    return (
        <Votes
            auth={auth}
            db={db}
            bgColor="#FFFFFF"
            textColor="#000000"
            primaryColor="#0000FF"
        />

        <Roadmap
            auth={auth}
            db={db}
            bgColor="#FFFFFF"
            textColor="#000000"
            primaryColor="#0000FF"
        />

        <SuggestionForm
            auth={auth}
            db={db}
            bgColor="#FFFFFF"
            textColor="#000000"
            primaryColor="#0000FF"
        />
    )

Readme

Keywords

none

Package Sidebar

Install

npm i paroot-react

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

112 kB

Total Files

45

Last publish

Collaborators

  • purpl