@willsmithte/feedback-widget
v0.0.3
Published
A customizable feedback widget for React applications
Downloads
5
Readme
A customizable feedback widget for React applications.
Installation
npm install {{PACKAGE_NAME}}
or
yarn add {{PACKAGE_NAME}}
Usage
import React from "react";
import { FeedbackWidget } from "{{PACKAGE_NAME}}";
const App = () => {
return (
<div>
<h1>My App</h1>
<FeedbackWidget />
</div>
);
};
export default App;
Props
| Prop | Type | Default | Description | | -------- | -------- | ------- | --------------------------------------------------- | | onSubmit | function | - | Callback function called when feedback is submitted |
Dev
Need to link React, or get invalid hook call error.
npm link ../appname/node_modules/react
License
MIT