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.
		
		
		
		
		
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			520 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			33 lines
		
	
	
		
			520 B
		
	
	
	
		
			TypeScript
		
	
import React from 'react';
 | 
						|
 | 
						|
interface Props {
 | 
						|
  loading: boolean;
 | 
						|
}
 | 
						|
 | 
						|
export class SessionSpinner extends React.Component<Props> {
 | 
						|
  public static defaultProps = {
 | 
						|
    loading: true,
 | 
						|
  };
 | 
						|
 | 
						|
  constructor(props: any) {
 | 
						|
    super(props);
 | 
						|
  }
 | 
						|
 | 
						|
  public render() {
 | 
						|
    const { loading } = this.props;
 | 
						|
 | 
						|
    return (
 | 
						|
      <>
 | 
						|
        {loading ? (
 | 
						|
          <div className="session-loader">
 | 
						|
            <div />
 | 
						|
            <div />
 | 
						|
            <div />
 | 
						|
            <div />
 | 
						|
          </div>
 | 
						|
        ) : null}
 | 
						|
      </>
 | 
						|
    );
 | 
						|
  }
 | 
						|
}
 |