We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using it for react native with expo and this is giving me an error please solve
Source Code import { Shadow } from 'react-native-neomorph-shadows'; export default function LoginScreen() { return ( <Shadow inner // <- enable inner shadow useArt // <- set this prop to use non-native shadow on ios style={{ shadowOffset: { width: 10, height: 10 }, shadowOpacity: 1, shadowColor: "grey", shadowRadius: 10, borderRadius: 20, backgroundColor: 'white', width: 100, height: 100, // ...include most of View/Layout styles }} > ) }
The text was updated successfully, but these errors were encountered:
adding
pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art'
to podfile /ios/podfile then
pod install
it works for me
Sorry, something went wrong.
This occurs because @react-native-community/art is an upgrade of an old RN package that's manually linked. Remove the manual link with
npx react-native unlink @react-native-community/art
and the autolinking process in RN 60+ will work correctly the next time you run
cd ios && pod install && cd ...
cd ios && pod install && cd ..
No branches or pull requests
I am using it for react native with expo and this is giving me an error please solve
Source Code
import { Shadow } from 'react-native-neomorph-shadows';
export default function LoginScreen() {
return (
<Shadow
inner // <- enable inner shadow
useArt // <- set this prop to use non-native shadow on ios
style={{
shadowOffset: { width: 10, height: 10 },
shadowOpacity: 1,
shadowColor: "grey",
shadowRadius: 10,
borderRadius: 20,
backgroundColor: 'white',
width: 100,
height: 100,
// ...include most of View/Layout styles
}}
>
)
}
The text was updated successfully, but these errors were encountered: