UNPKG

@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) 916 B
import { ContextOptions } from '@veltdev/types'; import React from 'react'; export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> { /** * @deprecated Use `targetElementId` instead */ targetCommentElementId?: string; targetElementId?: string; /** * @deprecated Use `avatar` instead */ showAvatar?: boolean; avatar?: boolean; commentBubbleTargetPinHover?: boolean; shadowDom?: boolean; variant?: string; darkMode?: boolean; readOnly?: boolean; commentCountType?: 'total' | 'unread'; context?: { [key: string]: any; }; contextOptions?: ContextOptions; locationId?: string; documentId?: string; folderId?: string; annotationId?: string; } declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>; export default SnippylyCommentBubble;