Skip to content

Commit

Permalink
Add uma loading animation for sending payments (#14277)
Browse files Browse the repository at this point in the history
https://github.com/user-attachments/assets/927a7bb7-1484-4b4d-ab78-e8002bc2c659

GitOrigin-RevId: 5ad980465107febc9c23f9d384fbffaaa23cbacd
  • Loading branch information
carsonp6 authored and Lightspark Eng committed Dec 12, 2024
1 parent b2a2937 commit 50c55d4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions packages/ui/src/icons/UmaPaymentLoadingSpinner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { type PathProps } from "./types.js";

export function UmaPaymentLoadingSpinner({
strokeWidth = "3",
strokeLinecap = "round",
}: PathProps) {
return (
<svg
width="88"
height="88"
viewBox="0 0 88 88"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<ellipse
cx="43.9983"
cy="43.9994"
rx="38.4983"
ry="38.4994"
stroke="#EBEEF2"
strokeWidth={strokeWidth}
/>
<path
d="M82.5072 43.9994C82.5072 37.9238 81.0693 31.9344 78.3111 26.521C75.5529 21.1076 71.5528 16.4239 66.6376 12.8527C61.7225 9.28158 56.032 6.92443 50.0314 5.974C44.0308 5.02356 37.8904 5.50683 32.1123 7.3843"
stroke="currentColor"
strokeWidth={strokeWidth}
strokeLinecap={strokeLinecap}
/>
</svg>
);
}
1 change: 1 addition & 0 deletions packages/ui/src/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export { Trash } from "./Trash.js";
export { Uma } from "./Uma.js";
export { UmaBridgeLoading } from "./UmaBridgeLoading.js";
export { UmaBridgeLoadingTransparent } from "./UmaBridgeLoadingTransparent.js";
export { UmaPaymentLoadingSpinner } from "./UmaPaymentLoadingSpinner.js";
export { Upload } from "./Upload.js";
export { WalletSDKIcon } from "./WalletSDKIcon.js";
export { WarningSign } from "./WarningSign.js";
Expand Down

0 comments on commit 50c55d4

Please sign in to comment.