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 receive an error when using NeomorphFlex as shown below: Below is my code:
import React from "react"; import { Dimensions, StyleSheet } from "react-native"; import { Neomorph, NeomorphFlex } from "react-native-neomorph-shadows"; import { normalize } from "../Style"; import { MARGIN_X_LARGE } from "../Style/constants"; const widthScreen = Dimensions.get("screen").width - normalize(MARGIN_X_LARGE * 3); const BoxShadowComp = ({ children, style }) => { return ( <NeomorphFlex inner style={[ styles.neomorph8, { shadowOpacity: 0.1, shadowColor: "#EBEBEBE5", }, style, ]} > {children} </NeomorphFlex> ); }; const styles = StyleSheet.create({ neomorph8: { borderRadius: 12, shadowRadius: 5, backgroundColor: "#FFFFFF", // width: normalize(widthScreen), // height: normalize(100), justifyContent: "center", alignItems: "center", }, }); export const BoxShadow = React.memo(BoxShadowComp);
Work fine with Neomorph, please help me. Many thanks <3
The text was updated successfully, but these errors were encountered:
Fixed after remove [] in style, thank!
Sorry, something went wrong.
No branches or pull requests
I receive an error when using NeomorphFlex as shown below:
![IMG_2576](https://private-user-images.githubusercontent.com/20843653/274474636-3cab1b58-31e4-49f7-9795-51d64b5d191e.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNzEyMDAsIm5iZiI6MTcxODA3MDkwMCwicGF0aCI6Ii8yMDg0MzY1My8yNzQ0NzQ2MzYtM2NhYjFiNTgtMzFlNC00OWY3LTk3OTUtNTFkNjRiNWQxOTFlLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjExVDAxNTUwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2ZjE4MzZjY2M5MjY5Y2ExOWEyYzNlMzU3ZDFjMDZmODBlNjZjZDYwYzE1YjY4MTYyOGM0MzMyOTcwMjdmNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0-A_741fG5DaMlI9EPXhDrMAGvKfxUTpC2SeigdrGGU)
Below is my code:
Work fine with Neomorph, please help me. Many thanks <3
The text was updated successfully, but these errors were encountered: