From adf830dfcd1350e104b92a0f088e5664a35b7b15 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Aug 2019 09:56:12 +0300 Subject: jsdoc updates --- vnext/src/ui/MessageInput.js | 15 +++++++++++++-- vnext/src/ui/SearchBox.js | 15 ++++++++++++++- vnext/src/ui/Thread.js | 9 +++++++-- vnext/src/ui/UserInfo.js | 4 +++- 4 files changed, 37 insertions(+), 6 deletions(-) (limited to 'vnext') diff --git a/vnext/src/ui/MessageInput.js b/vnext/src/ui/MessageInput.js index bc9ddd54..e19136d4 100644 --- a/vnext/src/ui/MessageInput.js +++ b/vnext/src/ui/MessageInput.js @@ -26,11 +26,13 @@ function moveCaretToEnd(el) { * @property {string} text * @property {import('../api').Message} data * @property {function} onSend + * @property {number} rows + * @property {string} children */ /** * MessageInput - * @param {HTMLTextAreaElement & MessageInputProps} props + * @param {React.ReactNode & MessageInputProps} props */ export default function MessageInput({ text, data, rows, children, onSend }) { /** @@ -98,7 +100,7 @@ export default function MessageInput({ text, data, rows, children, onSend }) {