forked from vergnet/application-amicale
46 lines
917 B
JavaScript
46 lines
917 B
JavaScript
// @flow
|
|
|
|
export default () => {
|
|
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;
|
|
};
|