Uploads / small cargo
{
setItems((rows) =>
rows.map((row) => {
if (row.id !== id) return row;
return {
id: row.id,
name: row.name,
preview: row.preview,
progressLabel: "",
progress: null,
statusLabel: "Sending to Computer",
actions: {
cancel: {
label: "Cancel",
accessibleLabel: `Cancel ${row.name}`,
},
},
};
}),
);
}}
/>
Simulate an upload. Retry or dismiss a row.
);
};