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