Thomas Trompette
2024-06-18 18:38:14 +02:00
committed by GitHub
parent cff8561597
commit 6b1548ebbe
11 changed files with 129 additions and 55 deletions

View File

@ -1,6 +1,7 @@
import styled from '@emotion/styled';
import { motion } from 'framer-motion';
const StyledEmptyContainer = styled.div`
const StyledEmptyContainer = styled(motion.div)`
align-items: center;
width: 100%;
height: 100%;
@ -13,6 +14,14 @@ const StyledEmptyContainer = styled.div`
export { StyledEmptyContainer as AnimatedPlaceholderEmptyContainer };
export const EMPTY_PLACEHOLDER_TRANSITION_PROPS = {
initial: { opacity: 0 },
animate: { opacity: 1 },
transition: {
duration: 0.15,
},
};
const StyledEmptyTextContainer = styled.div`
align-items: center;
display: flex;