genericFooter.tsx 650 B

1234567891011121314151617181920212223242526272829
  1. import styled from '@emotion/styled';
  2. import {motion} from 'framer-motion';
  3. import testableTransition from 'sentry/utils/testableTransition';
  4. const GenericFooter = styled(motion.div)`
  5. width: 100%;
  6. position: fixed;
  7. bottom: 0;
  8. left: 0;
  9. height: 72px;
  10. z-index: 100;
  11. display: flex;
  12. background-color: ${p => p.theme.background};
  13. justify-content: space-between;
  14. box-shadow: 0px -4px 24px rgba(43, 34, 51, 0.08);
  15. `;
  16. GenericFooter.defaultProps = {
  17. initial: 'initial',
  18. animate: 'animate',
  19. exit: 'exit',
  20. variants: {animate: {}},
  21. transition: testableTransition({
  22. staggerChildren: 0.2,
  23. }),
  24. };
  25. export default GenericFooter;