import * as React from 'react';
import { AlignItems, Display, JustifyContent, LoadingSpinner, StyledLayout } from 'twitch-core-ui';

export class StyledLoadingSpinner extends React.PureComponent {
  public render() {
    return (
      <StyledLayout
        padding={1}
        display={Display.Flex}
        alignItems={AlignItems.Center}
        justifyContent={JustifyContent.Center}
      >
        <LoadingSpinner/>
      </StyledLayout>
    );
  }
}
