nextui/apps/docs/libs/emitter.ts
Junior Garcia 5528ccd042
Fix/sidebar and pro banner space (#2438)
* 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

* fix(sidebar): remove opacity classes from TreeItem component

* fix(docs): pro banner margin

---------

Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
2024-03-03 16:32:29 -03:00

10 lines
154 B
TypeScript

import mitt from "mitt";
type Events = {
proBannerVisibilityChange: "hidden" | "visible";
};
const emitter = mitt<Events>();
export default emitter;