@timbal-ai/timbal-react 0.5.3 → 0.5.4

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/dist/index.d.cts CHANGED
@@ -216,8 +216,9 @@ interface ComposerProps {
216
216
  /** Placeholder shown in the textarea. Default: "Send a message..." */
217
217
  placeholder?: string;
218
218
  /**
219
- * Show the file-attach button. Default: true. Disable when the agent has no
220
- * use for attachments to keep the toolbar clean.
219
+ * Show the file-attach button and dropzone. Default: follow the runtime
220
+ * (`attachments` on `TimbalChat`). Pass `false` to hide even when uploads
221
+ * are enabled; pass `true` to show only when an attachment adapter is active.
221
222
  */
222
223
  showAttachments?: boolean;
223
224
  /** Extra content rendered inside the toolbar, left of the send button. */
package/dist/index.d.ts CHANGED
@@ -216,8 +216,9 @@ interface ComposerProps {
216
216
  /** Placeholder shown in the textarea. Default: "Send a message..." */
217
217
  placeholder?: string;
218
218
  /**
219
- * Show the file-attach button. Default: true. Disable when the agent has no
220
- * use for attachments to keep the toolbar clean.
219
+ * Show the file-attach button and dropzone. Default: follow the runtime
220
+ * (`attachments` on `TimbalChat`). Pass `false` to hide even when uploads
221
+ * are enabled; pass `true` to show only when an attachment adapter is active.
221
222
  */
222
223
  showAttachments?: boolean;
223
224
  /** Extra content rendered inside the toolbar, left of the send button. */