mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
Improve EditableFilePicker documentation
This commit is contained in:
parent
b05a4607ed
commit
9bdca921b3
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
* 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<HTMLInputElement> & { value?: undefined }) {
|
export function EditableFilePicker(props: HTMLProps<HTMLInputElement> & { value?: undefined }) {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue