mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
fix: squish
This commit is contained in:
@ -5,11 +5,17 @@ import { motion } from 'framer-motion';
|
||||
type AnimateGenericFadeInOutProps = {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
motionKey?: string;
|
||||
};
|
||||
|
||||
export const AnimateGenericFadeInOut = ({ children, className }: AnimateGenericFadeInOutProps) => {
|
||||
export const AnimateGenericFadeInOut = ({
|
||||
children,
|
||||
className,
|
||||
motionKey,
|
||||
}: AnimateGenericFadeInOutProps) => {
|
||||
return (
|
||||
<motion.section
|
||||
key={motionKey}
|
||||
initial={{
|
||||
opacity: 0,
|
||||
}}
|
||||
|
||||
@ -60,7 +60,7 @@ export const DocumentDownloadButton = ({
|
||||
loading={isLoading}
|
||||
{...props}
|
||||
>
|
||||
<Download className="mr-2 h-5 w-5" />
|
||||
{!isLoading && <Download className="mr-2 h-5 w-5" />}
|
||||
Download
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user