UNPKG

@mui/base

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

10 lines (9 loc) 293 B
export interface MessageBus { subscribe(topic: string, callback: Function): () => void; publish(topic: string, ...args: unknown[]): void; } export declare function createMessageBus(): MessageBus; /** * @ignore - internal hook. */ export declare function useMessageBus(): MessageBus;