Error block that pairs a danger inline alert with a Try again button and an onRetry callback. Defaults to a request failed message you can override in React.
npx shadcn@latest add @minidev/retry-block
Loading the source for retry-block…
Registry Items
retry-block
Configuration
Name
retry-block
Type
UI
Description
Error block that pairs a danger inline alert with a Try again button and an onRetry callback. Defaults to a request failed message you can override in React.
Files · 1
Dependencies
Registry items
https://ui.minidev.pro/r/button.json
https://ui.minidev.pro/r/inline-alert.json
Registry Items
retry-block
Configuration
Name
retry-block
Type
UI
Description
Error block that pairs a danger inline alert with a Try again button and an onRetry callback. Defaults to a request failed message you can override in React.