cozy-intent
Version:
Event-based library allowing interactions between React-Native and React applications
25 lines (24 loc) • 504 B
TypeScript
export type NativeEvent = {
nativeEvent: {
canGoBack?: boolean;
canGoForward?: boolean;
data: string;
loading?: boolean;
lockIdentifier?: number;
title?: string;
url: string;
};
};
export type PostMeMessageOptions = {
slug: string;
};
export type PostMeMessage = {
action: string;
args: unknown[];
message?: string;
methodName: string;
requestId: number;
sessionId: number;
type: string;
uri: string;
};