quala-widget
Version:
Smart feedback widget for SaaS trial optimization
19 lines • 585 B
TypeScript
import { ModalStyle, Question } from '../types';
type QualaWidgetProps = {
triggerText?: string;
title?: string;
questions: Question[];
onSubmit: (answers: Record<string, string>) => void | Promise<void>;
onClose?: () => void;
onCancel?: () => void;
onComplete?: (result: {
answers?: Record<string, string>;
}) => void;
open?: boolean;
modalStyle?: ModalStyle;
theme?: 'light' | 'dark';
showPoweredBy?: boolean;
};
export declare const QualaWidget: React.FC<QualaWidgetProps>;
export {};
//# sourceMappingURL=QualaWidget.d.ts.map