@userbugreport/bugbutton-react
v1.0.0
Published
This is the user interface for User Bug Report, you can learn how to get started in our [Docs](https://www.userbugreport.com/docs/).
Downloads
15
Readme
Intro
This is the user interface for User Bug Report, you can learn how to get started in our Docs.
Very Quick Getting Started
npm install @userbugreport/bugbutton-react
import { BugButton } from "@userbugreport/bugbutton-react";
<BugButton
id="yourid"
apikey="sample"
onBeforeBugSubmitted={() => console.log("submitting")}
onAfterBugSubmitted={() => console.log("submitted")}
onBugError={(submission, error) => console.error(submission, error)}
/>;