mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
feat: add layout transition
This commit is contained in:
8
inertia/components/layouts/_transition_layout.tsx
Normal file
8
inertia/components/layouts/_transition_layout.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { fadeInScale } from '~/styles/keyframes';
|
||||
|
||||
const TransitionLayout = styled.div(({ theme }) => ({
|
||||
animation: `${theme.transition.delay} ${fadeInScale} both`,
|
||||
}));
|
||||
|
||||
export default TransitionLayout;
|
||||
Reference in New Issue
Block a user