import React from 'react';
import PropTypes from 'prop-types';
const BlockSectionLoader = ({ children, isLoading, fullHeight, noShadow }) => (
{children}
{isLoading && (
)}
);
BlockSectionLoader.propTypes = {
children: PropTypes.node,
isLoading: PropTypes.bool,
fullHeight: PropTypes.bool,
noShadow: PropTypes.bool,
};
export default BlockSectionLoader;