mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 02:30:51 +08:00
feat: initialize new React application structure with TypeScript, ESLint, and Prettier configurations, while removing legacy files and adding new components and pages for enhanced functionality
This commit is contained in:
10
src/components/ui/LoadingSpinner.tsx
Normal file
10
src/components/ui/LoadingSpinner.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
export function LoadingSpinner({ size = 20 }: { size?: number }) {
|
||||
return (
|
||||
<div
|
||||
className="loading-spinner"
|
||||
style={{ width: size, height: size, borderWidth: size / 7 }}
|
||||
role="status"
|
||||
aria-live="polite"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user