@srimandir/hanuman-chalisa 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,5 +24,7 @@ export interface LandingPageProps {
|
|
|
24
24
|
isGlobal?: boolean;
|
|
25
25
|
/** Analytics callbacks for tracking events */
|
|
26
26
|
analytics?: HanumanChalisaAnalytics;
|
|
27
|
+
/** Toast function to show notifications (type: 'success' | 'error' | 'warning', message: string) */
|
|
28
|
+
showToast?: (type: 'success' | 'error' | 'warning' | 'info', message: string) => void;
|
|
27
29
|
}
|
|
28
30
|
export declare const LandingPage: React.FC<LandingPageProps>;
|
|
@@ -25,6 +25,8 @@ interface SuccessPageProps {
|
|
|
25
25
|
email?: string;
|
|
26
26
|
/** Phone number of the user for analytics */
|
|
27
27
|
phone?: string;
|
|
28
|
+
/** Toast function to show notifications (type: 'success' | 'error' | 'warning', message: string) */
|
|
29
|
+
showToast?: (type: 'success' | 'error' | 'warning' | 'info', message: string) => void;
|
|
28
30
|
}
|
|
29
31
|
export declare const SuccessPage: React.FC<SuccessPageProps>;
|
|
30
32
|
export {};
|
|
@@ -12,8 +12,6 @@ interface AppContextValue {
|
|
|
12
12
|
export declare const useAppContext: () => AppContextValue;
|
|
13
13
|
interface AppContextProviderProps {
|
|
14
14
|
children: ReactNode;
|
|
15
|
-
/** Set to true to disable the internal Toaster (useful when parent app has its own toast system) */
|
|
16
|
-
disableToaster?: boolean;
|
|
17
15
|
}
|
|
18
16
|
export declare const AppContextProvider: React.FC<AppContextProviderProps>;
|
|
19
17
|
export {};
|