diff --git a/apps/web/components/shared/skeleton/InviteTeamCardSkeleton.tsx b/apps/web/components/shared/skeleton/InviteTeamCardSkeleton.tsx index a29aa2500..3ce999fc9 100644 --- a/apps/web/components/shared/skeleton/InviteTeamCardSkeleton.tsx +++ b/apps/web/components/shared/skeleton/InviteTeamCardSkeleton.tsx @@ -1,4 +1,4 @@ -import Skeleton from 'react-loading-skeleton'; +import Skeleton from './Skeleton'; import { Card, VerticalSeparator } from 'lib/components'; import { DraggerIcon } from 'lib/components/svgs'; diff --git a/apps/web/components/shared/skeleton/Skeleton.tsx b/apps/web/components/shared/skeleton/Skeleton.tsx new file mode 100644 index 000000000..438226870 --- /dev/null +++ b/apps/web/components/shared/skeleton/Skeleton.tsx @@ -0,0 +1,27 @@ +import { clsxm } from '@app/utils'; + +const Skeleton = ({ + height, + width, + borderRadius, + className +}: { + height: number; + width: number; + borderRadius: number; + className: string; +}) => { + console.log({ borderRadius }); + return ( +
+ ); +}; + +export default Skeleton; diff --git a/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx b/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx index 8fd53544b..59fa03c7d 100644 --- a/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx +++ b/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx @@ -1,6 +1,6 @@ +import { clsxm } from '@app/utils'; import { Card, VerticalSeparator } from 'lib/components'; import { DraggerIcon } from 'lib/components/svgs'; -import Skeleton from 'react-loading-skeleton'; const UserTeamCardSkeletonCard = () => { return ( @@ -11,16 +11,16 @@ const UserTeamCardSkeletonCard = () => {