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-indicator

A refresh button that shows a spinner over itself while any query or mutation is in flight.

Props

PropTypeDefaultDescription
classNamestring—
onClick() => void—Called after the queries are refreshed.