Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get() {
deprecatedModule(
`import { LinearGradient } from 'expo' -> import { LinearGradient } from 'expo-linear-gradient'`,
'expo-linear-gradient'
);
return require('expo-linear-gradient').LinearGradient;
},
},
get() {
return require('expo-linear-gradient').LinearGradient;
},
},