Function: FallbackFileInput()
function FallbackFileInput(props): Element;
Defined in: components/capture.tsx:508
The platform file input, used whenever an adapter is missing or refused.
It is a real labelled <input type="file"> rather than a button that opens a
hidden one: the native control is keyboard operable, announces its own state,
and works in WebViews where a synthetic click() on a detached input does
nothing.
Parameters
| Parameter | Type |
|---|---|
props | { accept?: string; capture?: "environment" | "user"; describedBy?: string; disabled?: boolean; id: string; label: string; multiple?: boolean; onBlur?: void; onFiles: void; } |
props.accept? | string |
props.capture? | "environment" | "user" |
props.describedBy? | string |
props.disabled? | boolean |
props.id | string |
props.label | string |
props.multiple? | boolean |
props.onBlur? | |
props.onFiles |
Returns
Element