You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
287 B
TypeScript
19 lines
287 B
TypeScript
3 years ago
|
import React from 'react';
|
||
|
|
||
|
type Props = {
|
||
|
loading: boolean;
|
||
|
};
|
||
|
|
||
|
export const SessionSpinner = (props: Props) => {
|
||
|
const { loading } = props;
|
||
|
|
||
|
return loading ? (
|
||
|
<div className="session-loader">
|
||
|
<div />
|
||
|
<div />
|
||
|
<div />
|
||
|
<div />
|
||
|
</div>
|
||
|
) : null;
|
||
|
};
|