const shimAnimation = keyframes({
'0%': {
backgroundPosition: '0 0', // horizontal, vertical
},
'100%': {
backgroundPosition: `${window.innerWidth}px 0`,
},
});
const ANIMATION_BACKGROUND_BUNDLE = {
background: 'linear-gradient(to right, #eeeeee 0%, #dddddd 10%, #eeeeee 25%)',
animationName: shimAnimation,
animationDuration: '1s',
animationFillMode: 'forwards',
animationIterationCount: 'infinite',
animationTimingFunction: 'linear',
};