Skip to content

Commit

Permalink
Use formatListBullets for list view
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Dec 5, 2023
1 parent ed554c5 commit 4d3a7f2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/dataviews/src/constants.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { blockTable, category, drawerLeft } from '@wordpress/icons';
import { __, isRTL } from '@wordpress/i18n';
import {
blockTable,
category,
formatListBullets,
formatListBulletsRTL,
} from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -40,6 +45,6 @@ export const VIEW_LAYOUTS = [
type: LAYOUT_LIST,
label: __( 'List' ),
component: ViewList,
icon: drawerLeft,
icon: isRTL() ? formatListBulletsRTL : formatListBullets,
},
];

0 comments on commit 4d3a7f2

Please sign in to comment.