File tree 1 file changed +6
-2
lines changed
src/smart-components/NotificationChannel/stories
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- import React , { useState , useCallback } from 'react' ;
1
+ import React from 'react' ;
2
2
3
3
import Sendbird from '../../../lib/Sendbird' ;
4
4
import NotificationChannel from '../index' ;
5
5
import { TestApp } from './TestApp' ;
6
6
7
7
export default { title : 'NotficationChannel' } ;
8
8
9
+ const appId = '' ;
10
+ const userId = '' ;
11
+ const accessToken = '' ;
12
+
9
13
export const NotificationChannelComponent = ( ) => (
10
14
< Sendbird
11
15
appId = { appId }
@@ -14,7 +18,7 @@ export const NotificationChannelComponent = () => (
14
18
>
15
19
< div style = { { height : '500px' , width : '360px' } } >
16
20
< NotificationChannel
17
- channelUrl = 'SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_sravan'
21
+ channelUrl = { `SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_ ${ userId } ` }
18
22
/>
19
23
</ div >
20
24
</ Sendbird >
You can’t perform that action at this time.
0 commit comments