@botonic/react 0.20.8 → 0.20.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/react",
3
- "version": "0.20.8",
3
+ "version": "0.20.9",
4
4
  "license": "MIT",
5
5
  "description": "Build Chatbots using React",
6
6
  "main": "src/index.js",
@@ -313,7 +313,9 @@ export const Message = props => {
313
313
  ) : (
314
314
  <BlobText blob={blob}>{textChildren}</BlobText>
315
315
  )}
316
- {buttons}
316
+ {!!buttons.length && (
317
+ <div className='message-buttons-container'>{buttons}</div>
318
+ )}
317
319
  {Boolean(blob) && hasBlobTick() && getBlobTick(6)}
318
320
  {Boolean(blob) && hasBlobTick() && getBlobTick(5)}
319
321
  </Blob>