feat: implementation

This commit is contained in:
Riccardo
2024-05-07 21:52:38 +02:00
parent 734b590482
commit f752787605
26 changed files with 6365 additions and 1 deletions

13
components/Content.tsx Normal file
View File

@@ -0,0 +1,13 @@
interface ContentProps {
loading: boolean;
error?: string;
text: string;
}
export function Content({ loading, error, text }: ContentProps) {
return (
<div className='content'>
{loading ? 'Parsing file...' : <>{error ? <p>{error}</p> : text}</>}
</div>
);
}