Archived
24 lines
536 B
JavaScript
24 lines
536 B
JavaScript
import { Platform } from "react-native";
|
|
import platform from "native-base/src/theme/variables/platform";
|
|
|
|
const colors = {
|
|
danger: platform.btnDangerBg
|
|
};
|
|
|
|
const card = {
|
|
...Platform.select({
|
|
ios: {
|
|
shadowColor: 'rgba(0,0,0, .2)',
|
|
shadowOffset: {height: 0, width: 0},
|
|
shadowOpacity: 1,
|
|
shadowRadius: 1,
|
|
},
|
|
android: {
|
|
elevation: 1,
|
|
},
|
|
}),
|
|
padding: 8,
|
|
margin: 8,
|
|
backgroundColor: '#fff',
|
|
};
|
|
export default {card, colors}; |