UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

24 lines (23 loc) 837 B
import * as React from 'react'; import { ConversationProps } from './components'; export interface OptionsProps { canBookmarkComment?: boolean; canBookmarkConversationt?: boolean; canDislike?: boolean; canLike?: boolean; isChronologicalOrder?: boolean; } export declare type TalkProps = ConversationProps & { options: typeof defaultProps; bookmarkConversation: (conversationId: string) => void; headless?: boolean; setConversationAsRead: (isLastMessageRead: boolean) => void; onGoToConversationsClick?: () => void; tributes?: Array<any>; talkRef: (ref: React.MutableRefObject<any>) => void; onLinkClick?: (url: string) => void; getTributeComponent: any; }; declare const defaultProps: OptionsProps; export declare const Talk: React.FC<TalkProps>; export {};