Skip to content

Commit

Permalink
Change button to tertiary with icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jul 20, 2022
1 parent 2432b64 commit d78a367
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/edit-site/src/components/list/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useDispatch } from '@wordpress/data';
import { store as coreStore } from '@wordpress/core-data';
import { __ } from '@wordpress/i18n';
import { DropdownMenu, MenuGroup, MenuItem } from '@wordpress/components';
import { chevronDown } from '@wordpress/icons';
import { store as noticesStore } from '@wordpress/notices';

/**
Expand Down Expand Up @@ -52,11 +53,12 @@ export default function Actions( { template } ) {

return (
<DropdownMenu
icon={ null }
icon={ chevronDown }
className="edit-site-list-table__actions"
text={ __( 'Actions' ) }
toggleProps={ {
children: __( 'Actions' ),
isSecondary: true,
variant: 'tertiary',
iconPosition: 'right',
} }
>
{ ( { onClose } ) => (
Expand Down

0 comments on commit d78a367

Please sign in to comment.