import React from 'react'; import classNames from 'classnames'; export type SpinnerSize = 'large' | 'normal' | 'tiny'; interface Props { size?: SpinnerSize; centered?: boolean; className?: string; } const Spinner = ({ size, centered, className }: Props) => ( centered ?
:
); export default Spinner;