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.

55 lines (54 loc) 1.65 kB
import React from 'react'; declare class FilterTypeConfig { name?: string; enable?: boolean; multiSelection?: boolean; enableGrouping?: boolean; order?: string[]; } declare class CommentSidebarFilterConfig { location?: FilterTypeConfig; people?: FilterTypeConfig; priority?: FilterTypeConfig; category?: FilterTypeConfig; commentType?: FilterTypeConfig; status?: FilterTypeConfig; } declare class CommentSidebarGroupConfig { enable?: boolean; name?: string; } declare class CommentSidebarFilters { location?: Location[]; people?: { userId?: string; email?: string; }[]; priority?: string[]; status?: string[]; category?: string[]; } export interface IVeltCommentsSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> { tooltipText?: string; darkMode?: boolean; shadowDom?: boolean; floatingMode?: boolean; pageMode?: boolean; sortData?: 'asc' | 'desc' | 'none'; urlNavigation?: boolean; currentLocationSuffix?: boolean; filterConfig?: CommentSidebarFilterConfig; groupConfig?: CommentSidebarGroupConfig; filters?: CommentSidebarFilters; excludeLocationIds?: string[]; dialogVariant?: string; pageModeComposerVariant?: string; sidebarShadowDom?: boolean; sidebarVariant?: string; position?: "right" | "left"; filterPanelLayout?: 'menu' | 'bottomSheet'; onCommentClick?: Function; onSidebarOpen?: Function; } declare const VeltCommentsSidebarButton: React.FC<IVeltCommentsSidebarButtonProps>; export default VeltCommentsSidebarButton;