We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7dfdfc commit 03449f7Copy full SHA for 03449f7
packages/compass-connections-navigation/src/connections-navigation-tree.tsx
@@ -233,7 +233,25 @@ const ConnectionsNavigationTree: React.FunctionComponent<
233
onItemExpand={onItemExpand}
234
getItemActions={getItemActionsAndConfig}
235
getItemKey={(item) => item.id}
236
- renderItem={NavigationItem}
+ renderItem={({
237
+ item,
238
+ isActive,
239
+ isFocused,
240
+ onItemAction,
241
+ onItemExpand,
242
+ getItemActions,
243
+ }) => {
244
+ return (
245
+ <NavigationItem
246
+ item={item}
247
+ isActive={isActive}
248
+ isFocused={isFocused}
249
+ getItemActions={getItemActions}
250
+ onItemExpand={onItemExpand}
251
+ onItemAction={onItemAction}
252
+ />
253
+ );
254
+ }}
255
/>
256
)}
257
</AutoSizer>
0 commit comments