kundli-generator 1.0.8 → 1.0.9
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SupportedLocale } from '../../i18n/translations';
|
|
2
|
+
import { KundliAnalytics } from '../../analytics';
|
|
2
3
|
export interface KundliFormValues {
|
|
3
4
|
fullName: string;
|
|
4
5
|
phone?: string;
|
|
@@ -28,5 +29,7 @@ export interface KundliFormProps {
|
|
|
28
29
|
discountPillLabel?: string;
|
|
29
30
|
/** Google Maps API key used for Birth Place autocomplete */
|
|
30
31
|
googleMapsApiKey?: string;
|
|
32
|
+
/** Optional analytics (Mixpanel etc.). Also set on KundliProvider; passing here ensures events fire when form is used inside provider (e.g. avoids context loss from multiple React instances). */
|
|
33
|
+
analytics?: KundliAnalytics;
|
|
31
34
|
}
|
|
32
35
|
export declare const KundliForm: React.FC<KundliFormProps>;
|