@datalayer/core
Version:
[](https://datalayer.io)
19 lines (18 loc) • 429 B
TypeScript
import type { Awareness } from 'y-protocols/awareness';
/**
* PeersIndicator properties
*/
export type IPeersIndicatorProps = {
/**
* Document awareness
*/
awareness: Awareness;
/**
* Current user handle
*/
currentUserHandle: string;
};
/**
* Connected peers indicator
*/
export declare function PeersIndicator({ awareness, currentUserHandle, }: IPeersIndicatorProps): JSX.Element | null;