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
}}
>
)
}
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
}}
>
)
}