Ohbug extension to collect user feedback
pnpm i @ohbug/extension-feedback
import Ohbug from '@ohbug/browser'
import OhbugExtensionFeedback from '@ohbug/extension-feedback'
const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })
client.use(OhbugExtensionFeedback())
You can customize the dom element to which the feedback popup is mounted, by default it will be mounted in the body.
example:
import Ohbug from '@ohbug/browser'
import OhbugExtensionFeedback from '@ohbug/extension-feedback'
const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })
client.use(OhbugExtensionFeedback(document.querySelector('#xxx')))