Projekt

Obecné

Profil

Stáhnout (527 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import 'antd/dist/antd.css';
2
import styles from '/styles/MainLayout.module.scss';
3
import Navbar from './Navbar';
4

    
5
/**
6
 * Creates layout of main screens.
7
 * @param props Html structure of a login form.
8
 * @returns The login screen.
9
 */
10
export function AnnotationLayout(props: { children: React.ReactNode }) {
11
    return (
12
        <div className={styles.layoutWrapper}>
13
            <Navbar />
14
            <main className={styles.contentAnnotator}>{props.children}</main>
15
        </div>
16
    );
17
}
18

    
19
export default AnnotationLayout;
(1-1/4)