Pull To Refresh Location Pin
A production-scale, light + dark Pull To Refresh Location Pin component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add pull-to-refresh-location-pinLive preview available in the gallery.
Usage
import { PullToRefreshLocationPin } from "@lerpa/ui";
<PullToRefreshLocationPin />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onLocationUpdate | () => Promise<void> | — | |
| initialLocation | string | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.