File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,11 @@ const SBChannel = withSendBird((props) => {
292292 showSearchIcon = { showSearchIcon }
293293 onSearchClick = { onSearchClick }
294294 onChatHeaderActionClick = { onChatHeaderActionClick }
295+ // renderChatItem={({ message }) => {
296+ // return (
297+ // <div>{message.message || '하잉'}</div>
298+ // )
299+ // }}
295300 // renderCustomMessage={(message) => {
296301 // if (message.messageType === 'user') {
297302 // return () => (
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ ConversationScroll.propTypes = {
288288 PropTypes . string ,
289289 PropTypes . number ,
290290 ] ) ,
291- renderChatItem : PropTypes . element ,
291+ renderChatItem : PropTypes . func ,
292292 renderCustomMessage : PropTypes . func ,
293293 scrollToMessage : PropTypes . func ,
294294 useReaction : PropTypes . bool ,
You can’t perform that action at this time.
0 commit comments