## install ``` npm install @primeton-ui/chat-window ```
npm install @primeton-ui/chat-window
npm install @primeton-ui/chat-window
`$3
`
`$3
`
height: {
default: '500px'
},
width: {
default: '600px'
},
permission: {
default: () => {
return {
sendQuestion: true,
}
}
},
openContext: {
default: true,
},
disableInput: {
default: false,
},
inputReadonly: {
default: false,
},
chatHistory: {
default: () => [],
type: Array
},
loadingAnswer: {
default: false
},
sendQuestionBody: {
type: Function
},
copyHanlder: {
type: Function
},
showReAnswer: {
default: true
},
copyType: {
default: 'clipBoard', // clipBoard,function
}
``