Change block icon woocommerce/woocommerce-blocks#85
This commit is contained in:
parent
bc8e85006c
commit
06e76d402a
|
@ -481,7 +481,7 @@ var ProductsBlockSettingsEditor = function (_React$Component3) {
|
||||||
wp.element.createElement(
|
wp.element.createElement(
|
||||||
'h4',
|
'h4',
|
||||||
{ className: 'wc-products-settings__title' },
|
{ className: 'wc-products-settings__title' },
|
||||||
wp.element.createElement(Dashicon, { icon: 'universal-access-alt' }),
|
wp.element.createElement(Dashicon, { icon: 'screenoptions' }),
|
||||||
' ',
|
' ',
|
||||||
__('Products')
|
__('Products')
|
||||||
),
|
),
|
||||||
|
@ -651,7 +651,7 @@ var ProductsBlockPreview = withAPIData(function (_ref) {
|
||||||
*/
|
*/
|
||||||
registerBlockType('woocommerce/products', {
|
registerBlockType('woocommerce/products', {
|
||||||
title: __('Products'),
|
title: __('Products'),
|
||||||
icon: 'universal-access-alt', // @todo Needs a good icon.
|
icon: 'screenoptions',
|
||||||
category: 'widgets',
|
category: 'widgets',
|
||||||
|
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
|
@ -284,7 +284,7 @@ class ProductsBlockSettingsEditor extends React.Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={ 'wc-products-settings ' + ( this.state.expanded_group ? 'expanded-group-' + this.state.expanded_group : '' ) }>
|
<div className={ 'wc-products-settings ' + ( this.state.expanded_group ? 'expanded-group-' + this.state.expanded_group : '' ) }>
|
||||||
<h4 className="wc-products-settings__title"><Dashicon icon={ 'universal-access-alt' } /> { __( 'Products' ) }</h4>
|
<h4 className="wc-products-settings__title"><Dashicon icon={ 'screenoptions' } /> { __( 'Products' ) }</h4>
|
||||||
|
|
||||||
{ heading }
|
{ heading }
|
||||||
|
|
||||||
|
@ -396,7 +396,7 @@ const ProductsBlockPreview = withAPIData( ( { attributes } ) => {
|
||||||
*/
|
*/
|
||||||
registerBlockType( 'woocommerce/products', {
|
registerBlockType( 'woocommerce/products', {
|
||||||
title: __( 'Products' ),
|
title: __( 'Products' ),
|
||||||
icon: 'universal-access-alt', // @todo Needs a good icon.
|
icon: 'screenoptions',
|
||||||
category: 'widgets',
|
category: 'widgets',
|
||||||
|
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
Loading…
Reference in New Issue