+
+
+ {
+ // translators: %s: Total number of selected items.
+ sprintf(
+ // translators: %s: Total number of selected items.
+ _n(
+ '%s selected',
+ selection.length
+ ),
+ selection.length
+ )
+ }
+
+ { primaryActionsToShow.map( ( action ) => {
+ if ( !! action.RenderModal ) {
+ return (
+
+ );
+ }
+ return (
+
+ action.callback( selectedItems )
+ }
+ />
+ );
+ } ) }
+
+
+ {
+ setSelection( EMPTY_ARRAY );
+ } }
+ />
+
+
+