@fluster.io/dev
Version:
13 lines (12 loc) • 423 B
TypeScript
interface SetSyncronizedValueEvent {
content_id: string;
content: string;
override: boolean;
}
declare global {
interface WindowEventMap {
"set-synchronized-value": CustomEvent<SetSyncronizedValueEvent>;
}
}
export declare const useSynchronizedValue: (unique_content_id: string, initialValue?: string) => (string | import('react').Dispatch<import('react').SetStateAction<string>>)[];
export {};