base done
This commit is contained in:
16
src/components/LoadingSpinner.tsx
Normal file
16
src/components/LoadingSpinner.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
export default function LoadingSpinner(props: {
|
||||
height: number;
|
||||
width: number;
|
||||
}) {
|
||||
return (
|
||||
<picture class="animate-spin-reverse flex w-full justify-center">
|
||||
<source srcSet="/WhiteLogo.png" media="(prefers-color-scheme: dark)" />
|
||||
<img
|
||||
src="/BlackLogo.png"
|
||||
alt="logo"
|
||||
width={props.width}
|
||||
height={props.height}
|
||||
/>
|
||||
</picture>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user