@karthik1984/feedback-widget

1.0.6 • Public • Published

Feedback Widget for Websites

This is a react component to display a feedback widget at the bottom right of the screen. Users can provide optional rating and feedback text using it, which will be passed to callback function as (rating, feedbacktext).

Installation

npm install @karthik1984/feedback-widget

How to use

A simple example is as below

import Feedback from '@karthik1984/feedback-widget'
import '@karthik1984/feedback-widget/dist/App.css'
function App() {
  return (
    <div>
      <Feedback />
    </div>
  );
}

Screenshot 2023-02-24 at 4 52 40 PM

Parameters

Parameter Required / Optional Default
title Optional "Feedback"
bgcolor optional "rgba(255,255,255,0.8)"
callback optional callback(rating,textdata)

Package Sidebar

Install

npm i @karthik1984/feedback-widget

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

35.1 kB

Total Files

8

Last publish

Collaborators

  • karthik1984