Skip to content

Commit a479267

Browse files
committed
1 parent f42de63 commit a479267

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

dist/src/basic/SwipeRow.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/basic/SwipeRow.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/theme/components/SwipeRow.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/theme/components/SwipeRow.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/basic/SwipeRow.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ class SwipeRow extends Component {
196196
}}
197197
>
198198
{!this.props.list
199-
? <ListItem>
199+
? <ListItem list>
200200
{this.props.body}
201201
</ListItem>
202-
: <View style={{ backgroundColor: "#FFF" }}>
202+
: <View style={{ backgroundColor: '#FFF' }}>
203203
{this.props.body}
204204
</View>}
205205
</Animated.View>
@@ -215,10 +215,10 @@ class SwipeRow extends Component {
215215
}}
216216
>
217217
{!this.props.list
218-
? <ListItem>
218+
? <ListItem list>
219219
{this.props.body}
220220
</ListItem>
221-
: <View style={{ backgroundColor: "#FFF" }}>
221+
: <View style={{ backgroundColor: '#FFF' }}>
222222
{this.props.body}
223223
</View>}
224224
</Animated.View>

src/theme/components/SwipeRow.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import variable from "./../variables/platform";
33
export default (variables = variable) => {
44
const swipeRowTheme = {
55
"NativeBase.ListItem": {
6-
// backgroundColor: "#FFF",
6+
".list": {
7+
backgroundColor: "#FFF",
8+
},
79
marginLeft: 0,
810
},
911
"NativeBase.Left": {

0 commit comments

Comments
 (0)