0.1.8 • Published 2 years ago

feedbacky-react-component v0.1.8

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Feedbacky

Feedbacky is used for integrating a feedback system for client-side codebase.

Getting Started

Use the package manager 'npm' to install Feedbacky.

npm i feedbacky-react-component

Usage

import { Feedbacky } from 'feedbacky-react-component';

function Example() {
    return (
        <div className="Example">
            <Feedbacky />
        </div>
    )

Arguments

NameDescriptionDefault Value
customerIdstring'customer-1'
urlstring'http://localhost:8080/feedbacky-api/sendFeedback'
iconColorstring'black'
widthstring'24px'
heightstring'24px'
titlestring'Send Your Feedback'

Icon Colors

You can choose a color for icon from the examples below.

  • black
  • blue
  • gray
  • green
  • orange
  • purple
  • red
  • white
  • yellow

Request Attributes

    {
        method: 'POST',
        credentials: 'include',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json',
            'Access-Control-Allow-Credentials': true
        },
        body: {
            'customerId': 'customer-1',
            'message': 'example feedback text'
        }
    }
0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago