diff --git a/Examples/UIExplorer/js/UIExplorerExampleList.js b/Examples/UIExplorer/js/UIExplorerExampleList.js
index b80529183..7a697c53a 100644
--- a/Examples/UIExplorer/js/UIExplorerExampleList.js
+++ b/Examples/UIExplorer/js/UIExplorerExampleList.js
@@ -60,6 +60,8 @@ class RowComponent extends React.PureComponent {
item: Object,
onNavigate: Function,
onPress?: Function,
+ onShowUnderlay?: Function,
+ onHideUnderlay?: Function,
};
_onPress = () => {
if (this.props.onPress) {
@@ -71,19 +73,16 @@ class RowComponent extends React.PureComponent {
render() {
const {item} = this.props;
return (
-
-
-
-
- {item.module.title}
-
-
- {item.module.description}
-
-
-
-
-
+
+
+
+ {item.module.title}
+
+
+ {item.module.description}
+
+
+
);
}
}
@@ -121,6 +120,8 @@ class UIExplorerExampleList extends React.Component {
{this._renderTitleRow()}
{this._renderTextInput()}
;
+ _renderItem = ({item, separators}) => (
+
+ );
_renderTitleRow(): ?React.Element {
if (!this.props.displayTitleRow) {
@@ -188,6 +196,10 @@ class UIExplorerExampleList extends React.Component {
}
}
+const ItemSeparator = ({highlighted}) => (
+
+);
+
UIExplorerExampleList = UIExplorerStatePersister.createContainer(UIExplorerExampleList, {
cacheKeySuffix: () => 'mainList',
getInitialState: () => ({filter: ''}),
@@ -217,6 +229,10 @@ const styles = StyleSheet.create({
backgroundColor: '#bbbbbb',
marginLeft: 15,
},
+ separatorHighlighted: {
+ height: StyleSheet.hairlineWidth,
+ backgroundColor: 'rgb(217, 217, 217)',
+ },
rowTitleText: {
fontSize: 17,
fontWeight: '500',