LoadingIndicator
A refresh button that shows a spinner over itself while any query or mutation is in flight.
Installation
pnpm dlx shadcn@latest add @chelone/loading-indicatorA refresh button that shows a spinner over itself while any query or mutation is in flight.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| onClick | () => void | — | Called after the queries are refreshed. |