Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 6f26669

Browse files
author
Karl Ranna
committed
Add background color to list header in List story
1 parent faaf3b0 commit 6f26669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stories/component/list-story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ storiesOf('List', module).add('List Content', () => (
1616
<List
1717
data={[...Array(1000)].map((x, i) => ({ id: String(i), data: 'foo' }))}
1818
renderHeader={() => (
19-
<ListHeader>
19+
<ListHeader style={{ backgroundColor: color.white }}>
2020
<Text style={{ flex: 1, color: color.greyText }}>ID</Text>
2121
<Text style={{ flex: 1, color: color.greyText }}>Data</Text>
2222
</ListHeader>

0 commit comments

Comments
 (0)