@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.
41 lines (40 loc) • 1.22 kB
TypeScript
import { ContextOptions } from '@veltdev/types';
import React from 'react';
export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
config?: {
id: string;
name?: string;
};
/**
* @deprecated Use `targetElementId` instead.
*/
targetInlineCommentElementId?: string;
/**
* @deprecated Use `targetElementId` instead.
*/
targetCommentElementId?: string;
targetElementId?: string;
darkMode?: boolean;
variant?: string;
dialogVariant?: string;
composerVariant?: string;
shadowDom?: boolean;
multiThread?: boolean;
/**
* @deprecated Use `sortBy` and `sortOrder` instead.
*/
sortData?: 'asc' | 'desc' | 'none';
composerPosition?: 'top' | 'bottom';
sortBy?: 'createdAt' | 'lastUpdated';
sortOrder?: 'asc' | 'desc';
fullExpanded?: boolean;
context?: {
[key: string]: any;
};
contextOptions?: ContextOptions;
locationId?: string;
documentId?: string;
folderId?: string;
}
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
export default VeltInlineCommentsSection;