import React, { ComponentType } from 'react' import styled, { css } from '@monorail/helpers/styled-components' import { CustomIconProps } from '@monorail/visualComponents/icon/Icon' const StyledLoadingDots = styled.svg( ({ cssOverrides }) => css` .loadingFadeInline { animation: loadingFadeInline 1.1s infinite; } .typing-dots { animation-delay: 0.1; } .typing-dots:nth-child(2) { animation-delay: 0.2s; } .typing-dots:nth-child(3) { animation-delay: 0.3s; } @keyframes loadingFadeInline { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } } ${cssOverrides} `, ) export const LoadingDots: ComponentType = props => ( )