UNPKG

prometix

Version:

**Prometix** adalah widget feedback ringan berbasis React + TailwindCSS yang dapat di-embed langsung di HTML atau diintegrasikan ke aplikasi React. Cocok untuk mengumpulkan umpan balik pengguna secara cepat dan mudah.

37 lines (36 loc) 886 B
export interface FeedbackConfig { title: string; thankyou: string; textSubmitted: string; textButton: string; descriptionScore: string; illustration: string; followupQuestion: string; api: { submit: { method: string; url: string; }; check: { method: string; url: string; }; surveyContent: { method: string; url: string; }; }; customerId: string; surveyId: string; hideFeedbackButton: boolean; } export declare const prometixConfig: () => { get: () => FeedbackConfig; set: (newConfig: Partial<FeedbackConfig>) => void; }; export declare function getOrCreateAnonymousId(): string; export declare function generateColors(hex: string): { backgroundColor: string; textColor: string; isDark: boolean; };