/** * External dependencies */ import { __ } from '@wordpress/i18n'; import PropTypes from 'prop-types'; import classNames from 'classnames'; /** * Internal dependencies */ import './style.scss'; import Spinner from '../spinner'; // @todo Find a way to block buttons/form components when LoadingMask isLoading const LoadingMask = ( { children, className, screenReaderLabel, showSpinner = false, isLoading = true, } ) => { return (