Internal cleanup

This commit is contained in:
Sacha Weatherstone
2022-02-19 20:40:43 +11:00
parent 6c023d6656
commit e5d75eff19
71 changed files with 1700 additions and 1285 deletions
+21
View File
@@ -0,0 +1,21 @@
import type React from 'react';
import { m } from 'framer-motion';
export interface CardProps {
className?: string;
children: React.ReactNode;
}
export const Card = ({ className, children }: CardProps): JSX.Element => {
return (
<m.div
className={`flex select-none rounded-md bg-white p-4 shadow-md dark:bg-primaryDark ${className}`}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
>
{children}
</m.div>
);
};