@samitouri / QOS-React / commits / ded2ce03ee

Renamed TreeWrapper to innerElementType

Brian Vaughn committed Apr 4, 2019 at 10:08 UTC ded2ce03ee10b3a74b2c38fbad2238c4de948916
1 file changed +2 -2
src/devtools/views/Components/Tree.js
+2 -2
@@ -113,7 +113,7 @@ export default function Tree(props: Props) {
113 <FixedSizeList
114 className={styles.List}
115 height={height}
116 - innerElementType={TreeWrapper}
116 + innerElementType={innerElementType}
117 itemCount={numElements}
118 itemData={itemData}
119 itemSize={lineHeight}
@@ -129,7 +129,7 @@ export default function Tree(props: Props) {
129 );
130 }
131
132 -function TreeWrapper({ style, ...rest }) {
132 +function innerElementType({ style, ...rest }) {
133 const {
134 numElements,
135 selectedElementIndex,