@datalayer/core
Version:
**Datalayer Core**
19 lines (18 loc) • 428 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;