@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.
25 lines (24 loc) • 750 B
TypeScript
import { ContextOptions } from '@veltdev/types';
import React from 'react';
export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
/**
* @deprecated Use `targetElementId` instead
*/
targetCommentElementId?: string;
targetElementId?: string;
onCommentModeChange?: Function;
sourceId?: string;
darkMode?: boolean;
disabled?: boolean;
variant?: string;
shadowDom?: boolean;
context?: {
[key: string]: any;
};
contextOptions?: ContextOptions;
locationId?: string;
documentId?: string;
folderId?: string;
}
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
export default SnippylyCommentTool;