← All changes
|
assets/src/apps/js/blocks/course-elements/course-share/edit.js
+15
-15
4.3.9.1
→
4.4.9
View file →
| @@ -1,15 +1,15 @@ | ||
| 1 | -import { __ } from '@wordpress/i18n'; | |
| 2 | -import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | -export const edit = ( props ) => { | |
| 4 | - const blockProps = useBlockProps(); | |
| 5 | - return ( | |
| 6 | - <> | |
| 7 | - <div { ...blockProps }> | |
| 8 | - <div className="is-layout-flex c-gap-4"> | |
| 9 | - <i className="lp-icon-share-alt"></i> | |
| 10 | - <span>{ __( 'Share', 'learnpress' ) }</span> | |
| 11 | - </div> | |
| 12 | - </div> | |
| 13 | - </> | |
| 14 | - ); | |
| 15 | -}; | |
| 1 | +import { __ } from '@wordpress/i18n'; | |
| 2 | +import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | +export const edit = ( props ) => { | |
| 4 | + const blockProps = useBlockProps(); | |
| 5 | + return ( | |
| 6 | + <> | |
| 7 | + <div { ...blockProps }> | |
| 8 | + <div className="is-layout-flex c-gap-4"> | |
| 9 | + <i className="lp-icon-share-alt"></i> | |
| 10 | + <span>{ __( 'Share', 'learnpress' ) }</span> | |
| 11 | + </div> | |
| 12 | + </div> | |
| 13 | + </> | |
| 14 | + ); | |
| 15 | +}; | |