import {keyframes} from '@emotion/react'; import styled from '@emotion/styled'; import {space} from 'sentry/styles/space'; const SPACING = 15; export function TimelinePlaceholder() { return ( ); } const PlaceholderSvg = styled('svg')` margin: ${space(0.5)} 0; `; const gradientAnimation = keyframes` 0%{ background-position-x: 0%; } 100%{ background-position-x: -200%; } `; const AnimatedGradient = styled('div')` width: 100%; height: 100%; background-image: linear-gradient( 90deg, ${p => p.theme.border} 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, ${p => p.theme.border} 100% ); background-size: 200% 100%; animation: ${gradientAnimation} 2s linear infinite; `;