Rewrite <LoadingIndicator/>
as FC and TS (#25364)
This commit is contained in:
parent
72590e601a
commit
a86886b1fd
24 changed files with 55 additions and 53 deletions
7
app/javascript/mastodon/components/loading_indicator.tsx
Normal file
7
app/javascript/mastodon/components/loading_indicator.tsx
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { CircularProgress } from './circular_progress';
|
||||
|
||||
export const LoadingIndicator: React.FC = () => (
|
||||
<div className='loading-indicator'>
|
||||
<CircularProgress size={50} strokeWidth={6} />
|
||||
</div>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue