RefreshButton

Invalidates all queries so the active ones refetch.

Installation

pnpm dlx shadcn@latest add @chelone/refresh-button

Invalidates all queries so the active ones refetch.

Props

PropTypeDefaultDescription
iconReactNode—
labelReactNode—
onClick() => void—
refRef<HTMLButtonElement>—