@userbugreport/bugbutton-react

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @userbugreport/bugbutton-react

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

2.69 MB

Total Files

38

Last publish

Collaborators

  • wballard
  • glamp