import { Node } from 'components/FileExplorer/Node' import * as React from 'react' import { ListChildComponentProps } from 'react-window' import { NodeRendererContext } from '.' export const VirtualNode = React.memo(function VirtualNode({ index, style, data: { onNodeClick, renderLabelText, renderActions, visibleNodes }, }: Override) { if (!visibleNodes) return null const { nodes, focusedNode, expandedNodes, loading, depths } = visibleNodes const node = nodes[index] return ( ) })