mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-18 06:03:49 +09:00
Re-added PHP register block for front-end render;
Added example image
This commit is contained in:
@@ -5,6 +5,6 @@ registerBlockType( 'wp-strava/activity', {
|
||||
title: 'Strava Activity',
|
||||
icon: 'chart-line',
|
||||
category: 'widgets',
|
||||
edit: () => <img src={ActivityImage} />,
|
||||
edit: () => <img className="wp-strava-img" src={ActivityImage} />,
|
||||
save: () => <div>Hola, mundo!</div>,
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user