import React from 'react'; import classNames from 'classnames'; export const SpinnerSvgSizes = ['small', 'normal'] as const; export type SpinnerSvgSize = typeof SpinnerSvgSizes[number]; export const SpinnerDirections = [ 'outgoing', 'incoming', 'on-background', ] as const; export type SpinnerDirection = typeof SpinnerDirections[number]; export interface Props { size?: string; svgSize: SpinnerSvgSize; direction?: SpinnerDirection; } export class Spinner extends React.Component { public render() { const { size, svgSize, direction } = this.props; return (
); } }