diff --git a/packages/dataviews/src/view-list.js b/packages/dataviews/src/view-list.js index 370d4737650f99..8c02e5ecd673ab 100644 --- a/packages/dataviews/src/view-list.js +++ b/packages/dataviews/src/view-list.js @@ -21,6 +21,7 @@ import { __ } from '@wordpress/i18n'; * Internal dependencies */ import { unlock } from './lock-unlock'; +import ItemActions from './item-actions'; const { useCompositeStoreV2: useCompositeStore, @@ -30,6 +31,7 @@ const { } = unlock( componentsPrivateApis ); function ListItem( { + actions, id, item, isSelected, @@ -115,12 +117,28 @@ function ListItem( { +
+ ( + + ) } + item={ item } + actions={ actions } + /> +
); } export default function ViewList( { + actions, data, fields, getItemId, @@ -192,6 +210,7 @@ export default function ViewList( {