Register and install the package and start taking attestations the right way.
Go to → https://feedhook.vercel.app Connect wallet and register with all the following details
Install the library along with dependencies if they aren’t already on the app
npm install feedhook
Other dependencies
npm install wagmi ethers
Using it in your app
import {Feedhook} from 'feedhook';
const YourApp = () => {
return (
<>
<Feedhook widgetType="pageHelpful" callback={callback} />
</>
)
}
Using it in your app
import {Feedhook} from 'feedhook';
const YourApp = () => {
return (
<>
<Feedhook widgetType="pageHelpful" callback={callback} />
</>
)
}
import {Feedhook} from 'feedhook';
const YourApp = () => {
const callback = () => {
// documentation of contract repository
}
return (
<>
<Feedhook widgetType="pageHelpful" callback={callback} />
</>
)
}
Props | Type | Description | Options |
---|---|---|---|
widgetType *required | string | Decide what kind of widget this is? | 1. pageHelpful 2. rateExpereince 3. shareFeedback |
callback | function |