<NME> withVirtualList.js
<BEF> ADDFILE
<MSG> initial

<DFF> @@ -0,0 +1,42 @@
+import React from 'react';
+
+import VirtualList, { virtualListPropTypes } from './VirtualList';
+
+export default function withVirtualList(Widget) {
+  let name = Widget.name || Widget.displayName || 'Widget';
+  name = name[0] + name.slice(1);
+
+  return class extends React.Component {
+    static displayName = `Virtual${name}`;
+
+    static propTypes = virtualListPropTypes;
+
+    render() {
+      let {
+        type,
+        itemSizeGetter,
+        itemSizeEstimator,
+        pageSize,
+        threshold,
+        useStaticSize,
+        useTranslate3d,
+        ...props } = this.props;
+
+      return (
+        <Widget
+          {...props}
+          listComponent={VirtualList}
+          listProps={{
+            type,
+            itemSizeGetter,
+            itemSizeEstimator,
+            pageSize,
+            threshold,
+            useStaticSize,
+            useTranslate3d,
+          }}
+        />
+      )
+    }
+  }
+}

initial