@veltdev/react
Version:
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
31 lines (30 loc) • 845 B
TypeScript
import React from 'react';
export interface IVeltPresenceProps {
maxUsers?: number;
inactivityTime?: number;
offlineInactivityTime?: number;
documentParams?: any;
location?: any;
locationId?: string;
/**
* @deprecated Use `onPresenceUserChange` instead
*/
onUsersChanged?: Function;
onPresenceUserChange?: Function;
flockMode?: boolean;
/**
* @deprecated Use `defaultFlockNavigation` instead
*/
disableFlockNavigation?: boolean;
defaultFlockNavigation?: boolean;
self?: boolean;
shadowDom?: boolean;
onNavigate?: (pageInfo: {
path: string;
url: string;
baseUrl: string;
}) => void;
onPresenceUserClick?: (presenceUser: any) => any;
}
declare const SnippylyPresence: React.FC<IVeltPresenceProps>;
export default SnippylyPresence;