Confirm Delete With Undo
- from @tealmac
Delete without a dialog and make it safe with an announced Undo bar: the item goes at once and the delete is committed only after the undo window passes.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @tealmac/confirm-delete-with-undoRegistry dependencies1
- button
Packages0
No npm packages are installed with it.
