()
| 14 | } |
| 15 | |
| 16 | render() { |
| 17 | return html` |
| 18 | <div |
| 19 | class="flex ${ |
| 20 | this.message.isQuestion ? 'justify-end' : 'justify-start' |
| 21 | }" |
| 22 | > |
| 23 | <div |
| 24 | class="max-w-[80%] rounded-lg p-3 ${ |
| 25 | this.message.isQuestion |
| 26 | ? 'bg-blue-500 text-white' |
| 27 | : 'bg-gray-200 text-gray-800' |
| 28 | }" |
| 29 | > |
| 30 | ${this.message.content} ${this.inProgress ? '...' : null} |
| 31 | </div> |
| 32 | </div> |
| 33 | ` |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | customElements.define('message-bubble', MessageBubble) |
nothing calls this directly
no outgoing calls
no test coverage detected