UNPKG

betabounty-sdk

Version:

BetaBounty SDK for integrating user testing widgets into web applications

18 lines (17 loc) 708 B
import type { Session, BountyConfig, Task, Issue, Note } from '../types'; export interface BetaBountyWidgetProps { session: Session; bountyConfig: BountyConfig; tasks: Task[]; issues: Issue[]; notes: Note[]; onStartSession: () => void; onPauseSession: () => void; onResumeSession: () => void; onCompleteSession: () => void; onReportIssue: (issue: Omit<Issue, 'id' | 'timestamp'>) => void; onTaskComplete: (taskId: string) => void; onAddNote: (note: string, taskId?: string) => void; onUpdateSessionState?: (state: Session['state']) => void; } export declare function BetaBountyWidget(props: BetaBountyWidgetProps): import("react/jsx-runtime").JSX.Element;