mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
30 lines
650 B
TypeScript
30 lines
650 B
TypeScript
import styled from '@emotion/styled';
|
|
import {motion} from 'framer-motion';
|
|
|
|
import testableTransition from 'sentry/utils/testableTransition';
|
|
|
|
const GenericFooter = styled(motion.div)`
|
|
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: 0px -4px 24px rgba(43, 34, 51, 0.08);
|
|
`;
|
|
|
|
GenericFooter.defaultProps = {
|
|
initial: 'initial',
|
|
animate: 'animate',
|
|
exit: 'exit',
|
|
variants: {animate: {}},
|
|
transition: testableTransition({
|
|
staggerChildren: 0.2,
|
|
}),
|
|
};
|
|
|
|
export default GenericFooter;
|