@told.club/sdk-rn
Version:
Told React Native SDK
17 lines • 546 B
TypeScript
import * as React from 'react';
interface ToldContextProps {
hiddenFields: {
[key: string]: string;
};
trackScreen: (screenName: string) => void;
sendCustomEvent: (eventName: string, eventProperties?: {
[key: string]: string;
} | undefined) => void;
close: () => void;
addHiddenFields: (newHiddenFields: {
[key: string]: string;
}, setData: boolean) => void;
}
declare const ToldContext: React.Context<ToldContextProps>;
export default ToldContext;
//# sourceMappingURL=ToldContext.d.ts.map