import React, { ReactNode } from 'react'; interface BlockSectionLoaderProps { children: ReactNode; isLoading: boolean; fullHeight: boolean; noShadow: boolean; } const BlockSectionLoader: React.FC = ({ children, isLoading, fullHeight, noShadow }) => (
{children} {isLoading && (
)}
); export default BlockSectionLoader;