import React from 'react'; import { FormattedMessage } from 'react-intl'; import Stack from '../stack/stack'; import Text from '../text/text'; import './spinner.css'; interface ILoadingIndicator { size?: number, withText?: boolean } const LoadingIndicator = ({ size = 30, withText = true }: ILoadingIndicator) => (
{Array.from(Array(12).keys()).map(i => (
 
))}
{withText && ( )}
); export default LoadingIndicator;