This package has been deprecated

Author message:

this package is deprecated in favor of the new @feedback-fish/react package, see https://feedback.fish/help/react

feedback-fish
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

feedback.fish

Usage

We have an npm package that exposes our feedback form as a React component. To use it, first install the package:

npm install feedback-fish

Then import the component in your React app and render it:

import { FeedbackForm } from 'feedback-fish'
 
// Note: the triggerComponent can be anything you want as long as
// you spread the passed props onto an HTML element { ...props }
const Button = (props) => <button {...props}>Feedback</button>
 
<FeedbackForm
    projectId="..."
    userId="..."
    triggerComponent={Button}
/>

Readme

Keywords

none

Package Sidebar

Install

npm i feedback-fish

Weekly Downloads

33

Version

0.2.3

License

MIT

Unpacked Size

518 kB

Total Files

92

Last publish

Collaborators

  • mxstbr
  • timolins
  • tobiaslins