2019-06-25 22:20:24 +02:00
|
|
|
// @flow
|
|
|
|
|
2020-01-28 20:07:21 +01:00
|
|
|
export default () => {
|
2019-06-25 22:20:24 +02:00
|
|
|
const swipeRowTheme = {
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.ListItem': {
|
|
|
|
'.list': {
|
|
|
|
backgroundColor: '#FFF'
|
2019-06-25 22:20:24 +02:00
|
|
|
},
|
2020-01-28 20:07:21 +01:00
|
|
|
marginLeft: 0
|
2019-06-25 22:20:24 +02:00
|
|
|
},
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.Left': {
|
2019-06-25 22:20:24 +02:00
|
|
|
flex: 0,
|
|
|
|
alignSelf: null,
|
|
|
|
alignItems: null,
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.Button': {
|
2019-06-25 22:20:24 +02:00
|
|
|
flex: 1,
|
2020-01-28 20:07:21 +01:00
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
borderRadius: 0
|
|
|
|
}
|
2019-06-25 22:20:24 +02:00
|
|
|
},
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.Right': {
|
2019-06-25 22:20:24 +02:00
|
|
|
flex: 0,
|
|
|
|
alignSelf: null,
|
|
|
|
alignItems: null,
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.Button': {
|
2019-06-25 22:20:24 +02:00
|
|
|
flex: 1,
|
2020-01-28 20:07:21 +01:00
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
borderRadius: 0
|
|
|
|
}
|
2019-06-25 22:20:24 +02:00
|
|
|
},
|
2020-01-28 20:07:21 +01:00
|
|
|
'NativeBase.Button': {
|
2019-06-25 22:20:24 +02:00
|
|
|
flex: 1,
|
|
|
|
height: null,
|
2020-01-28 20:07:21 +01:00
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
borderRadius: 0
|
|
|
|
}
|
2019-06-25 22:20:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
return swipeRowTheme;
|
|
|
|
};
|