import * as React from 'react'; import styled, { keyframes } from 'styled-components'; export const AnimatedChatIcon = () => ( ); const scale = keyframes` 0% { transform: scale(1.2) } 20% { transform: scale(1) } 80% { transform: scale(1) } 100% { transform: scale(1.2) } `; const fadeInOut = keyframes` 0%, 50%, 70%, 100% { transform: initial; } 60% { transform: translateY(-5px); } `; const Bubble = styled.g` animation: ${scale} 5s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-origin: 50% 50%; path, circle { fill: ${props => props.theme.lightBgColor}; } `; const Dot = styled.circle<{ delay: number }>` animation: ${fadeInOut} 5s ${props => `${props.delay}s`} infinite; `;