Re-added PHP register block for front-end render;

Added example image
This commit is contained in:
Justin Foell
2020-02-03 11:30:06 -06:00
parent 4c5198fa1c
commit 2dbbc19511
3 changed files with 21 additions and 25 deletions
+1 -1
View File
@@ -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>,
} );