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.

52 lines (51 loc) 1.73 kB
import { CommentSidebarFilterConfig, CommentSidebarFilters, CommentSidebarGroupConfig } from '@veltdev/types'; import React from 'react'; export interface IVeltCommentsSidebarProps { embedMode?: boolean; floatingMode?: boolean; /** * @deprecated Use `urlNavigation` instead */ enableUrlNavigation?: boolean; urlNavigation?: boolean; queryParamsComments?: boolean; pageMode?: boolean; currentLocationSuffix?: boolean; variant?: string; pageModeComposerVariant?: string; dialogVariant?: string; shadowDom?: boolean; sortData?: 'asc' | 'desc' | 'none'; filterConfig?: CommentSidebarFilterConfig; groupConfig?: CommentSidebarGroupConfig; filters?: CommentSidebarFilters; excludeLocationIds?: string[]; /** * @deprecated Use `onSidebarOpen` instead */ openSidebar?: Function; onSidebarOpen?: Function; /** * @deprecated Use `onCommentClick` instead */ onSidebarCommentClick?: Function; onCommentClick?: Function; onSidebarClose?: Function; onCommentNavigationButtonClick?: Function; darkMode?: boolean; position?: "right" | "left"; filterPanelLayout?: 'menu' | 'bottomSheet'; customActions?: boolean; focusedThreadDialogVariant?: string; focusedThreadMode?: boolean; searchPlaceholder?: string; filterOptionLayout?: 'checkbox' | 'dropdown'; filterCount?: boolean; fullExpanded?: boolean; systemFiltersOperator?: 'and' | 'or'; sidebarButtonCountType?: 'default' | 'filter'; filterGhostCommentsInSidebar?: boolean; fullScreen?: boolean; } declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>; export default SnippylyCommentsSidebar;