2.0.5 • Published 3 years ago

react-feedbacky v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-feedbacky npm version

Feedbacky is a feedback tool added to your own codebase. The backend is an area where these feedbacks are recorded. You can collect all your feedback by deploying the backend part to your own servers.

Getting Started

npm install react-feedbacky

Usage

import { Feedbacky } from "react-feedbacky";
export default function App() {
  const props = {
    projectId: "STORIES_FEEDBACKY",
    styleThemeColor: "#f37919",
    styleFontColor: "#fff",
    styleOpenButtonImageSrc: "https://avatars.githubusercontent.com/u/17431441?v=4",
    styleCloseButtonImageSrc: "https://avatars.githubusercontent.com/u/17431441?v=4",
    styleButtonText: "Send Feedback",
    styleFormPlaceHolder: "Enter your message",
    styleFormTitle: "Send Your Feedback",
    requestFeedbackBackEndUrl: "https://ty-resobyte-ext-feedback-be.herokuapp.com/v1/api/feedbacks", 
    extraHttpHeaders: {'Access-Control-Allow-Credentials' : 'true'},
    extraHttpBodyParams: {'screen': 'recorder'},
  };

  return (
    <div className="App">
      <Feedbacky {...props} />
    </div>
  );
}

Configuration

PropsDescriptiontyperequireddefault
projectIdYour Project ID for Backend feedbacksstring false  "STORIES_FEEDBACKY"
styleThemeColorYour Project Theme Colorstring false"#f37919"
 styleFontColorYour Project Font Colorstringfalse"#fff"
styleButtonText Your Project Send Button Textstringfalse"Send Feedback"
styleOpenButtonImageSrcFeedbacky Button Open Image Sourcestring falseProject Default Svg
styleCloseButtonImageSrcFeedbacky Button Close Image Sourcestring falseProject Default Svg
styleFormPlaceHolder Your Project Input Placeholderstringfalse"Enter your message"
styleFormTitle Your Project Modal Titlestringfalse"Send Feedback"
requestFeedbackBackEndUrl Your Project BackEnd request url stringfalse"https://ty-resobyte-ext-feedback-be.herokuapp.com/v1/api/feedbacks"
extraHttpHeadersBackend project extra HttpHeadersobject false{}
extraHttpBodyParamsBackend project extra BodyParamsobject false{}

Example Project

Live project Demo with CodeSandBox.

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago