From 9bdca921b30af4b39f73f675f6eddbfaa27d76b9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 10 Jun 2022 00:01:27 +0200 Subject: [PATCH] Improve EditableFilePicker documentation --- components/editable/EditableFilePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/editable/EditableFilePicker.tsx b/components/editable/EditableFilePicker.tsx index 6437dfc..6b9b1ef 100644 --- a/components/editable/EditableFilePicker.tsx +++ b/components/editable/EditableFilePicker.tsx @@ -5,7 +5,7 @@ import { Editable } from "./Editable"; /** * Controlled input component which displays an `input[type="file"]` in editing mode, and is invisible in preview mode. * - * Value is the file's [fakepath](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value), as a string. + * Has no value due to how file inputs function in JS and React. */ export function EditableFilePicker(props: HTMLProps & { value?: undefined }) { return (