Skip to content

Commit

Permalink
style: flowbite loading component
Browse files Browse the repository at this point in the history
  • Loading branch information
Luqmaan Essop committed Jan 26, 2024
1 parent bec6df1 commit 84c64a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ui/src/components/Molecules/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import React from 'react';

export function Loading() {
return (
<div className="animate-pulse text-xl font-bold italic text-indigo-600 text-center my-8">
Loading&hellip;
<div className="flex items-center justify-center">
<div className="px-3 py-1 text-xs font-medium leading-none text-center text-blue-800 bg-blue-200 rounded-full animate-pulse dark:bg-blue-900 dark:text-blue-200">

Check warning on line 6 in packages/ui/src/components/Molecules/Loading.tsx

View workflow job for this annotation

GitHub Actions / Test

Strings not allowed in JSX files: "loading..."

Check warning on line 6 in packages/ui/src/components/Molecules/Loading.tsx

View workflow job for this annotation

GitHub Actions / Test

Strings not allowed in JSX files: "loading..."
loading...
</div>
</div>
);
}

0 comments on commit 84c64a2

Please sign in to comment.