import { Spinner } from '@blueprintjs/core'
import { css } from '@emotion/css'

const wrapper = css`
  display: flex;
  justify-content: center;
  height: 100%;
  flex: 1;
`

const CenteredSpinner = () => (
  <div className={wrapper}>
    <Spinner />
  </div>
)

export default CenteredSpinner
