Axios integration & English language #89
-
Hello all! I have some questions actually. First one, can I use Axios responses in the component? Additionally, can I hide the delete history button? Finally, any plans to support state persistence for chat messages? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Nadaabdalkader sry for taking so long to reply to you first question:u can use any network, components only care about text return second:placeholder can help u change the message input place holder, about delete config buttons,u can use actions : render to modify it actions={{
render: (defaultDoms) => {
return <></>
}
}}
last: we do not suggest do persistence directly in the component, we think its should judged by developer, however pro-chat provide a doc about how to work with state persistence, u can read, maybe its will help u |
Beta Was this translation helpful? Give feedback.
@Nadaabdalkader sry for taking so long to reply to you
first question:u can use any network, components only care about text return
second:placeholder can help u change the message input place holder, about delete config buttons,u can use actions : render to modify it
last: we do not suggest do persistence directly in the component, we think its should judged by developer, however pro-chat provide a doc about how to work with state persistence, u can read, maybe its will help u
https://pro-chat.antdigital.dev/guide/storage