const styles = StyleSheet.create({container:{backgroundColor:'#F8F8F8',alignItems:'center',justifyContent:'center',height:60,paddingTop:20,borderBottomWidth:0,shadowColor:'#000000',shadowOffset :{width:0,height:5},shadowRadius:10,shadowOpacity:0.5,elevation:3,position:'relative',},});
1 回答
您可以使用它为iOS和Android生成阴影React native shadow generator