import * as React from 'react';
import * as classNames from 'classnames';
import {HTMLProps, SFC} from 'react';

export interface SpinnerProps extends HTMLProps<HTMLDivElement> {}

export const Spinner: SFC<SpinnerProps> = ({children, className, ...otherProps}: SpinnerProps) => (
  <div
    className={classNames('spinner', className)}
    {...otherProps}
  >
    loading
  </div>
);

Spinner.displayName = 'Spinner';
