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)}
/>;