Created
January 6, 2020 23:39
-
-
Save kharissulistiyo/07ffdb16213fec4e0d166b916c68b9e2 to your computer and use it in GitHub Desktop.
Save block depending on its settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
save: function( props ) { | |
var attributes = props.attributes; | |
return( | |
el( 'div', { className: props.className }, | |
el( 'p', {}, i18n.__( 'Card block is here', 'risbl-card-block' ) ), | |
// Other HTML elements goes here | |
) | |
); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment