-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
There is problem when i try to pass some styles in to the ShadowView. These styles doesn't apply:
<ShadowView style={styles.container}>
<Text>Hello this is text</Text>
<Text>Hello this is text</Text>
<Text>Hello this is text</Text>
<Text>Hello this is text</Text>
</ShadowView>
const styles = StyleSheet.create({
container: {
shadowColor: '#000',
shadowOffset: {
width: 1,
height: 2,
},
shadowOpacity: 0.25,
shadowRadius: 1.22,
backgroundColor: '#fff',
flexDirection: 'row',
alignItems: 'center',
width: 250,
height: 250,
}
});
In the above example the Texts (children) will not be next to each other as a row, but it will be aligned as a stack.
Metadata
Metadata
Assignees
Labels
No labels