diff options
Diffstat (limited to 'plugins/jetpack/extensions/blocks/videopress/loading.js')
-rw-r--r-- | plugins/jetpack/extensions/blocks/videopress/loading.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/jetpack/extensions/blocks/videopress/loading.js b/plugins/jetpack/extensions/blocks/videopress/loading.js new file mode 100644 index 00000000..76c25d4c --- /dev/null +++ b/plugins/jetpack/extensions/blocks/videopress/loading.js @@ -0,0 +1,13 @@ +/** + * External dependencies + */ +import { Spinner } from '@wordpress/components'; + +const Loading = ( { text } ) => ( + <div className="wp-block-embed is-loading"> + <Spinner /> + <p>{ text }</p> + </div> +); + +export default Loading; |