mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* 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>
10 lines
154 B
TypeScript
10 lines
154 B
TypeScript
import mitt from "mitt";
|
|
|
|
type Events = {
|
|
proBannerVisibilityChange: "hidden" | "visible";
|
|
};
|
|
|
|
const emitter = mitt<Events>();
|
|
|
|
export default emitter;
|