@notificationapi/react 1.5.0 → 1.6.0
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.
|
@@ -7,6 +7,12 @@ interface SlackConnectProps {
|
|
|
7
7
|
cancelButtonText?: string;
|
|
8
8
|
connectedText?: string;
|
|
9
9
|
selectChannelText?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Controls what type of Slack destination the user can select:
|
|
12
|
+
* - 'me': Only allows sending to the authenticated user's own DM (no channel picker or edit option)
|
|
13
|
+
* - 'any': Allows selecting any channel or user (default behavior)
|
|
14
|
+
*/
|
|
15
|
+
destinationType?: 'me' | 'any';
|
|
10
16
|
}
|
|
11
|
-
export declare function SlackConnect({ description, connectButtonText, editButtonText, disconnectButtonText, saveButtonText, cancelButtonText, connectedText, selectChannelText }?: SlackConnectProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
export declare function SlackConnect({ description, connectButtonText, editButtonText, disconnectButtonText, saveButtonText, cancelButtonText, connectedText, selectChannelText, destinationType }?: SlackConnectProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
18
|
export {};
|