import classnames from 'classnames';
import React from 'react';
import { ReactComponent as LoadingIndicator } from './loadingIndicator.svg';
export interface ISpinnerProps {
color?: string;
message?: string;
mode?: 'circular' | 'horizontal';
fullWidth?: boolean;
size?: 'nano' | 'small' | 'medium' | 'large';
className?: string;
}
export const Spinner = ({
color = '#ffffff',
fullWidth,
message,
className,
mode = 'horizontal',
size = 'small',
}: ISpinnerProps) => {
if (mode === 'circular') {
const sizeToHeight = {
nano: 12,
small: 16,
medium: 24,
large: 32,
};
return