diff --git a/packages/dataviews/src/components/dataviews-item-actions/index.tsx b/packages/dataviews/src/components/dataviews-item-actions/index.tsx index c5e1cb09adf15f..497b95bdc97791 100644 --- a/packages/dataviews/src/components/dataviews-item-actions/index.tsx +++ b/packages/dataviews/src/components/dataviews-item-actions/index.tsx @@ -72,7 +72,7 @@ interface ActionsListProps< Item > { ActionTrigger: ( props: ActionTriggerProps< Item > ) => ReactElement; } -function ButtonTrigger< Item >( { +function ActionButtonTrigger< Item >( { action, onClick, items, @@ -90,7 +90,7 @@ function ButtonTrigger< Item >( { ); } -function MenuItemTrigger< Item >( { +function ActionMenuItemTrigger< Item >( { action, onClick, items, @@ -170,7 +170,7 @@ export function ActionsMenuGroup< Item >( { actions={ actions } item={ item } registry={ registry } - ActionTrigger={ MenuItemTrigger } + ActionTrigger={ ActionMenuItemTrigger } /> ); @@ -250,20 +250,22 @@ function CompactItemActions< Item >( { isSmall, }: CompactItemActionsProps< Item > ) { return ( -
- } - placement="bottom-end" - > -