application-amicale/native-base-theme/components/SwipeRow.js
2019-06-25 22:20:24 +02:00

48 lines
1,003 B
JavaScript

// @flow
import variable from "./../variables/platform";
export default (variables /*: * */ = variable) => {
const swipeRowTheme = {
"NativeBase.ListItem": {
".list": {
backgroundColor: "#FFF",
},
marginLeft: 0,
},
"NativeBase.Left": {
flex: 0,
alignSelf: null,
alignItems: null,
"NativeBase.Button": {
flex: 1,
alignItems: "center",
justifyContent: "center",
alignSelf: "stretch",
borderRadius: 0,
},
},
"NativeBase.Right": {
flex: 0,
alignSelf: null,
alignItems: null,
"NativeBase.Button": {
flex: 1,
alignItems: "center",
justifyContent: "center",
alignSelf: "stretch",
borderRadius: 0,
},
},
"NativeBase.Button": {
flex: 1,
height: null,
alignItems: "center",
justifyContent: "center",
alignSelf: "stretch",
borderRadius: 0,
},
};
return swipeRowTheme;
};