Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProAn alert dialog where the person types the new owner's email before an ownership transfer unlocks; use this when the risk is choosing the wrong recipient.
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 for handing a workspace, repository or domain to another person. Typing the recipient's address makes the person read who gets it.
Do not use it for sharing (use a normal permission dialog) or when the recipient is not a person, where confirm-destructive-action with the resource name fits better.
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 |
|---|---|---|---|
resource | string | - | What is handed over, for Transfer {resource}?. |
recipientEmail | string | - | The email the person must type. |
onConfirm | (email: string) => void | Promise<void> | - | Runs the transfer. |
children | ReactNode | - | The trigger. |
| Key | Action |
|---|---|
| Enter in the field | confirms when the email matches |
| Escape | cancels |
The pattern ships a Testing Library test (confirm-transfer-ownership.test.tsx) that covers the locked action, case-insensitive matching with trimming and Enter confirming only on a match.