nextui/apps/docs/utils/featurebase.ts
աӄա 4957f56e86
feat: featurebase integration (#2425)
* feat(utils): add featurebase utils

* feat(config): add changelog, feedback and roadmap routes

* feat(app): add featurebase script

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_URL

* feat(featurebase): add featurebase components

* feat(components): add featurebase components to navbar

* feat(components): add featurebase components to sidebar

* chore(config): remove changelog and feedback at this moment

* fix(components): fb-roadmap-link styles

* chore(components): hide feedback and changelog at this moment

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_ORG

* feat(featurebase): add trackEvent & revise props
2024-03-03 16:20:40 -03:00

7 lines
149 B
TypeScript

export const openFeedbackWidget = () => {
window.postMessage({
target: "FeaturebaseWidget",
data: {action: "openFeedbackWidget"},
});
};