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
Do you guys a flex example:
as I'm trying it and give me an error when code compiles
<ShadowFlex style={styles.shadow}>
shadow: { flexDirection: 'row', justifyContent: 'space-around', marginBottom: 32, marginLeft: 16, marginRight: 16, borderRadius: 20, shadowOffset: { width: 4, height: 4, }, shadowOpacity: 1, shadowColor: colours.SHADOW_DARK, shadowRadius: 4, backgroundColor: colours.BASIC200, },
ERROR Warning: Failed prop type: The prop `style.width` is marked as required in `OuterShadow`, but its value is `undefined`.
The text was updated successfully, but these errors were encountered:
can you please just modify this line :
interface ShadowFlexProps extends ViewProps { inner?: boolean; useArt?: boolean; style?: ViewStyle; }
or help me to raise a PR
Sorry, something went wrong.
I am also thinking that those two lines needs changes in order to adapt the flex component
width: number.isRequired, height: number.isRequired,
export const InnerShadowType = { ...ViewPropTypes, children: node, style: shape({ ...ViewPropTypes.style, width: number.isRequired, height: number.isRequired, }), };
No branches or pull requests
Do you guys a flex example:
as I'm trying it and give me an error when code compiles
The text was updated successfully, but these errors were encountered: