Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 967f45fc

Přidáno uživatelem Dominik Poch před více než 2 roky(ů)

Basic functionality of an annotation panel

The panel is without css styles. Basic functionality is implemented.

Zobrazit rozdíly:

webapp/components/annotation/annotationPanel.tsx
1
import AnnotationItem from './annotationItem';
2

  
1 3
/**
2 4
 * Creates a panel in the annotation screen that contains a list of annotations.
3 5
 * @returns Panel with a list of annotations.
......
6 8
    return (
7 9
        <div>
8 10
            <p>Panel with a list of annotations</p>
11
            <AnnotationItem name={'tag a'} category={'kategorie 1'} occurrences={[]} />
12
            <AnnotationItem name={'tag b'} category={'kategorie 2'} occurrences={[]} />
9 13
        </div>
10 14
    );
11 15
}

Také k dispozici: Unified diff