import React from 'react'; import { Box } from '@mantine/core'; export interface DocumentStackProps { totalFiles: number; children: React.ReactNode; } const DocumentStack: React.FC = ({ totalFiles, children }) => { const stackDocumentBaseStyle = { position: 'absolute' as const, width: '100%', height: '100%' }; const stackDocumentShadows = { back: '0 2px 8px rgba(0, 0, 0, 0.1)', middle: '0 3px 10px rgba(0, 0, 0, 0.12)' }; return ( {/* Background documents (stack effect) */} {totalFiles >= 3 && ( )} {totalFiles >= 2 && ( )} {/* Main document container */} {children} ); }; export default DocumentStack;