Skip to content

Commit

Permalink
fix skeleton group
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Mar 7, 2023
1 parent d4d9db1 commit 4c85506
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/moti/src/skeleton/expo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export default function SkeletonExpo(
) {
return <SkeletonNative {...props} Gradient={LinearGradient as any} />
}

SkeletonExpo.Group = SkeletonNative.Group
2 changes: 2 additions & 0 deletions packages/moti/src/skeleton/native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ import { MotiSkeletonProps } from './types'
export function Skeleton(props: Omit<MotiSkeletonProps, 'Gradient'>) {
return <SkeletonNative {...props} Gradient={LinearGradient as any} />
}

Skeleton.Group = SkeletonNative.Group

1 comment on commit 4c85506

@vercel
Copy link

@vercel vercel bot commented on 4c85506 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.