File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/smart-components/NotificationChannel/stories Expand file tree Collapse file tree 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' ;
22
33import Sendbird from '../../../lib/Sendbird' ;
44import NotificationChannel from '../index' ;
55import { TestApp } from './TestApp' ;
66
77export default { title : 'NotficationChannel' } ;
88
9+ const appId = '' ;
10+ const userId = '' ;
11+ const accessToken = '' ;
12+
913export const NotificationChannelComponent = ( ) => (
1014 < Sendbird
1115 appId = { appId }
@@ -14,7 +18,7 @@ export const NotificationChannelComponent = () => (
1418 >
1519 < div style = { { height : '500px' , width : '360px' } } >
1620 < NotificationChannel
17- channelUrl = 'SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_sravan'
21+ channelUrl = { `SENDBIRD_NOTIFICATION_CHANNEL_NOTIFICATION_ ${ userId } ` }
1822 />
1923 </ div >
2024 </ Sendbird >
You can’t perform that action at this time.
0 commit comments