+
+
+
+
+
+
+
+
+ { item.name }
+
+ { item.description }
+
+
+
+ { children.length > 0 && (
+
+ { children.map( child => this.renderItem( child, true ) ) }
+
+ ) }
+
+ );
+ }
+
+ renderRow = ( { index } ) => {
+ const item = this.getItem( index );
+ if ( item ) {
+ return this.renderItem( item );
+ }
+
+ return null;
+ };
+
+ renderCategoryList() {
+ const { loading, categories, lastPage, searchQuery } = this.props;
+ return (
+