Documentation / Components · Files

UppySelection

UppySelection renders the UppySelection part of the uppy composition..

ROM UI 0.1.0-alpha.8 · ROM 0.1.5 Markdown

UppySelection renders the UppySelection part of the uppy composition.

Public import

svelte
<script lang="ts">
  import { UppySelection } from "rom-ui/files/uppy";
  import "rom-studio/styles";
</script>

Composition and responsibility

The host supplies data, callbacks and application policy. The component does not provide persistence or authorization.

Public names: UppySelection.

Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

ts
type Props = {authority:unknown;onselect:(files:readonly File[])=>void;onready?:(engine:Uppy<Meta,Body>)=>void|(()=>void);maxFiles?:number;maxBytes?:number;allowedFileTypes?:readonly string[];disabled?:boolean};

Source and version

ROM UI 0.1.0-alpha.8, published ROM 0.1.5 integration. Archive SHA-256: bf6620cd2467f45ce5afc5e803f88bb2401f9c609c58616aaf14b9f887876255. Source: src/lib/files/uppy/UppySelection.svelte.

See the composition guide for host integration boundaries.

This page follows the captured repository source.View the source