We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6002602 commit 97429dfCopy full SHA for 97429df
modules/tableview/index.js
@@ -1,4 +1,20 @@
1
// @flow
2
3
+import * as React from 'react'
4
+import {Platform} from 'react-native'
5
+import {androidLightBackground} from '@frogpond/colors'
6
+
7
+import {TableView, Section as IosSection, Cell} from 'react-native-tableview-simple'
8
9
export * from './cells'
-export {TableView, Section, Cell} from 'react-native-tableview-simple'
10
11
+let AndroidSection = (props) => <IosSection sectionTintColor={androidLightBackground} {...props} />
12
+let Section
13
14
+if (Platform.OS === 'android') {
15
+ Section = AndroidSection
16
+} else {
17
+ Section = IosSection
18
+}
19
20
+export {TableView, Section, Cell}
0 commit comments