We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e75d81 commit 47fff47Copy full SHA for 47fff47
packages/uikit-react-native/src/contexts/SBUHandlersCtx.tsx
@@ -1,7 +1,19 @@
1
import React from 'react';
2
3
export interface SBUHandlers {
4
+ /**
5
+ * Callback function to handle opening a URL.
6
+ * This is triggered when a URL needs to be opened.
7
+ */
8
onOpenURL: (url: string) => void;
9
+
10
11
+ * Callback function to handle opening a file URL.
12
+ * This is triggered when a file URL needs to be opened.
13
+ *
14
+ * Note that this function is also called redundantly
15
+ * when `onPressMediaMessage` handler is triggered by clicking on media messages containing images, videos, or audio.
16
17
onOpenFileURL: (url: string) => void;
18
}
19
0 commit comments