diff options
Diffstat (limited to 'src/ui/objects/LoadingIndicator.tsx')
| -rw-r--r-- | src/ui/objects/LoadingIndicator.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/objects/LoadingIndicator.tsx b/src/ui/objects/LoadingIndicator.tsx new file mode 100644 index 0000000..325cbb3 --- /dev/null +++ b/src/ui/objects/LoadingIndicator.tsx | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | import type { HTMLAttributes } from "corvos/plugins/jsx.ts"; | ||
| 2 | |||
| 3 | export type Props = HTMLAttributes<"svg">; | ||
| 4 | |||
| 5 | export const LoadingIndicator = (props: Props) => ( | ||
| 6 | <svg height="50" width="50" {...props}> | ||
| 7 | <title>Loading indicator</title> | ||
| 8 | <use href="#loading-indicator" /> | ||
| 9 | </svg> | ||
| 10 | ); | ||
