Skip to content

feat: Added react-native-linear-gradient skeleton path to moti like 'moti/skeleton/react-native-linear-gradient'#379

Open
Daniyal-Shah wants to merge 1 commit intonandorojo:masterfrom
Daniyal-Shah:master
Open

feat: Added react-native-linear-gradient skeleton path to moti like 'moti/skeleton/react-native-linear-gradient'#379
Daniyal-Shah wants to merge 1 commit intonandorojo:masterfrom
Daniyal-Shah:master

Conversation

@Daniyal-Shah
Copy link
Copy Markdown

Description

Added support for using react-native-linear-gradient with the Skeleton component.

Changes

  • Added new implementation at moti/skeleton/react-native-linear-gradient
  • Added type definitions
  • Updated package exports to include the new implementation

Usage

import { Skeleton } from 'moti/skeleton/react-native-linear-gradient'

<Skeleton
  colorMode="light"
  height={100}
  width={200}
  radius={8}
  colors={['#E1E9EE', '#F2F8FC', '#E1E9EE']}
/>

Testing

  • Tested with react-native-linear-gradient
  • Verified type definitions work correctly
  • Verified all existing Skeleton props are supported

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
moti ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 11:02am

@nandorojo
Copy link
Copy Markdown
Owner

Hey @Daniyal-Shah, we already have docs for doing this via a bundler:

https://moti.fyi/skeleton#non-expo-users

Would that existing solution work for you?

@Daniyal-Shah
Copy link
Copy Markdown
Author

Daniyal-Shah commented Jun 17, 2025 via email

@kuldip-drcsystems
Copy link
Copy Markdown

Hey @Daniyal-Shah, we already have docs for doing this via a bundler:

https://moti.fyi/skeleton#non-expo-users

Would that existing solution work for you?

This docs are not working for me as well. Please fix this issue for React Native CLI. if we are not using Expo then it's difficult to move forward with the Skelaton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants