@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.
58 lines (57 loc) • 1.93 kB
TypeScript
import React from 'react';
export interface IVeltCommentSidebarV2Props extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
pageMode?: boolean;
focusedThreadMode?: boolean;
readOnly?: boolean;
embedMode?: string;
floatingMode?: boolean;
position?: 'right' | 'left';
variant?: string;
forceClose?: boolean;
darkMode?: boolean;
defaultCondition?: boolean;
filters?: any;
miniFilters?: any;
minimalFilters?: any;
filterOperator?: 'and' | 'or';
filterPanelLayout?: 'menu' | 'bottomSheet';
filterOptionLayout?: 'checkbox' | 'dropdown';
filterCount?: boolean;
filterGhostCommentsInSidebar?: boolean;
systemFiltersOperator?: 'and' | 'or';
defaultMinimalFilter?: 'all' | 'read' | 'unread' | 'resolved' | 'open' | 'assignedToMe' | 'reset' | null;
excludeLocationIds?: string[];
sortBy?: any;
sortOrder?: any;
customActions?: boolean;
openAnnotationInFocusMode?: boolean;
urlNavigation?: boolean;
queryParamsComments?: boolean;
fullScreen?: boolean;
shadowDom?: boolean;
fullExpanded?: boolean;
dialogSelection?: boolean;
expandOnSelection?: boolean;
currentLocationSuffix?: boolean;
sidebarButtonCountType?: 'default' | 'filter';
dialogVariant?: string;
focusedThreadDialogVariant?: string;
pageModeComposerVariant?: string;
pageModePlaceholder?: string;
searchPlaceholder?: string;
commentPlaceholder?: string;
replyPlaceholder?: string;
editPlaceholder?: string;
editCommentPlaceholder?: string;
editReplyPlaceholder?: string;
context?: {
[key: string]: any;
};
groupConfig?: any;
measuredSize?: number;
minBufferPx?: number;
maxBufferPx?: number;
onFullscreenClick?: Function;
}
declare const VeltCommentsSidebarV2: React.FC<IVeltCommentSidebarV2Props>;
export default VeltCommentsSidebarV2;