customersay-widget
Version:
A plug-and-play feedback widget for React/Next.js applications with smart triggers and analytics
16 lines (15 loc) • 484 B
TypeScript
import React from 'react';
type FeedbackWidgetProps = {
workspace: string;
apiBase?: string;
onFeedbackSubmit?: (data: any) => void;
onWidgetShow?: () => void;
onWidgetHide?: () => void;
className?: string;
style?: React.CSSProperties;
autoLoad?: boolean;
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
};
declare const FeedbackWidget: React.FC<FeedbackWidgetProps>;
export default FeedbackWidget;
export { FeedbackWidget };