diff options
Diffstat (limited to 'vnext/src/ui/UploadButton.js')
-rw-r--r-- | vnext/src/ui/UploadButton.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vnext/src/ui/UploadButton.js b/vnext/src/ui/UploadButton.js index 78991340..b652e522 100644 --- a/vnext/src/ui/UploadButton.js +++ b/vnext/src/ui/UploadButton.js @@ -1,10 +1,10 @@ import Icon from './Icon'; /** - * @typedef {Object} UploadButtonProps + * @typedef {object} UploadButtonProps * @property {string} value - * @property {React.MutableRefObject<HTMLInputElement>} inputRef - * @property {function} onChange + * @property {import('react').MutableRefObject<HTMLInputElement>} inputRef + * @property {Function} onChange */ /** @@ -22,7 +22,7 @@ export default function UploadButton(props) { }; /** - * @param {React.ChangeEvent<HTMLInputElement>} event + * @param {import('react').ChangeEvent<HTMLInputElement>} event */ let attachmentChanged = (event) => { props.onChange(event.target.value); |