diff --git a/README.md b/README.md index b5eb2f9..e078d7d 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ https://www.npmjs.com/package/@risc0/ui | Statements | Branches | Functions | Lines | | --------------------------- | ----------------------- | ------------------------- | ----------------- | -| ![Statements](https://img.shields.io/badge/statements-37.25%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-73.75%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-60.46%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-37.25%25-red.svg?style=flat) | +| ![Statements](https://img.shields.io/badge/statements-37.37%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-73.75%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-60.46%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-37.37%25-red.svg?style=flat) | diff --git a/loader.tsx b/loader.tsx index 008d3b9..68e3d36 100644 --- a/loader.tsx +++ b/loader.tsx @@ -1,7 +1,10 @@ -export function Loader({ loadingText = "Loading…" }: { loadingText?: string }) { +export function Loader({ + loadingSrc = "/loading.gif", + loadingText = "Loading…", +}: { loadingText?: string; loadingSrc?: string }) { return (
{loadingText}