import type {HTMLAttributes} from 'react';
import styled from '@emotion/styled';
import type {AnimationControls} from 'framer-motion';
import {motion} from 'framer-motion';
import testableTransition from 'sentry/utils/testableTransition';
type Props = {
animateVariant: AnimationControls;
} & HTMLAttributes;
function PageCorners({animateVariant, ...rest}: Props) {
return (
);
}
export default PageCorners;
const transition = testableTransition({
type: 'spring',
duration: 0.8,
});
const TopLeft = styled(motion.svg)`
position: absolute;
top: 0;
left: 0;
`;
const TopRight = styled(motion.svg)`
position: absolute;
top: 0;
right: 0;
`;
const BottomLeft = styled(motion.svg)`
position: absolute;
bottom: 0;
left: 0;
`;
const BottomRight = styled(motion.svg)`
position: absolute;
bottom: 0;
right: 0;
`;
const Container = styled('div')`
pointer-events: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
color: ${p => p.theme.purple200};
opacity: 0.4;
`;