mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): general revamp of navigation & pages (#303)
This commit is contained in:
parent
f08633587d
commit
4b1dd10846
35 changed files with 3059 additions and 659 deletions
18
frontend/src/components/ui/Spinner.tsx
Normal file
18
frontend/src/components/ui/Spinner.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import React from "react";
|
||||
import { SpinnerIcon } from "../../icons/Spinner";
|
||||
|
||||
interface SpinnerProps {
|
||||
className?: string;
|
||||
iconClassName?: string;
|
||||
}
|
||||
|
||||
export const Spinner: React.FC<SpinnerProps> = ({
|
||||
className = "",
|
||||
iconClassName = "h-16 w-16",
|
||||
}) => (
|
||||
<div className={`flex justify-center ${className}`}>
|
||||
<SpinnerIcon
|
||||
className={`${iconClassName} text-gray-300 dark:text-gray-700 fill-green-500`}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue