123456789101112131415161718192021222324252627282930 |
- import styled from '@emotion/styled';
- import {motion} from 'framer-motion';
- import testableTransition from 'sentry/utils/testableTransition';
- const GenericFooter = styled((props: React.ComponentProps<typeof motion.div>) => (
- <motion.div
- initial="initial"
- animate="animate"
- exit="exit"
- variants={{animate: {}}}
- transition={testableTransition({
- staggerChildren: 0.2,
- })}
- {...props}
- />
- ))`
- width: 100%;
- position: fixed;
- bottom: 0;
- left: 0;
- height: 72px;
- z-index: 100;
- display: flex;
- background-color: ${p => p.theme.background};
- justify-content: space-between;
- box-shadow: ${p => p.theme.dropShadowHeavyTop};
- `;
- export default GenericFooter;
|