Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProThe file-conflict prompt for uploads and imports with Replace, Keep both or Skip, an apply-to-all option for the rest of the batch and the non-destructive choice preselected.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this when a batch of uploads, moves or imports can collide with existing names. The person decides once for the whole batch instead of answering the same question ten times.
Do not use it for single-file saves where overwriting is the whole point, or for operations that can be undone with a toast.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | - | Controlled; show it for each conflict. |
fileName | string | - | Name of the existing file. |
remaining | number | 0 | Conflicts still waiting; shows Apply to all when above 0. |
onResolve | (choice: "replace" | "keep-both" | "skip", applyToAll: boolean) => void | - | The decision. |
onCancel | () => void | - | Stops the whole operation. |
radiogroup; each radio is described by a sentence saying what it does.| Key | Action |
|---|---|
| Arrow keys | choose Replace, Keep both or Skip |
| Enter on Continue | resolves |
| Escape | cancels the whole operation |
The pattern ships a Testing Library test (confirm-overwrite-conflict.test.tsx) that covers the preselected safe choice, resolving, apply-to-all only with remaining conflicts and cancelling.