Closed vjwilson closed 1 year ago
What version of the extension do you have installed? This should have been fixed in 1.0.7. Here's an example of the callback being called. https://github.com/patternfly/react-user-feedback/blob/main/packages/module/patternfly-docs/content/examples/Advanced.tsx
Also I will create a bug to send back the missing form information for you in the callback.
TypeScript linting shows errors for the props
onShareFeedback
andonJoinMailingList
The docs here, https://react-user-feedback.surge.sh/extensions/react-user-feedback/#feedbackmodalprops, and the examples given above the props list show an option for a function returning a boolean.
but the actual types defined in the published package is only
string
Here is an example error message in VSCode: