Revize ac9bd13c
Přidáno uživatelem Dominik Poch před více než 2 roky(ů)
- ID ac9bd13c2ef0b99743600cc0518c612872d82aaf
- Rodič 858edfe4
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
Basic functionality of an annotation panel
The panel is without css styles. Basic functionality is implemented.