35 |
36 | = 0} onResize={undefined} onResizeCapture={undefined} crossOrigin={undefined}/>
37 |
40 |
41 |

42 |
43 |
44 | );
45 | }
46 |
47 | export default Mask;
--------------------------------------------------------------------------------
/webapp/webapp/src/components/MaskList.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { MaskListProps } from "./helpers/Interfaces";
3 | import Mask from './Mask';
4 |
5 | const MaskList = ({ masks, handleDelete }: MaskListProps) => {
6 |
7 | return (
8 | <>
9 | {
10 | masks.map(mask => {
11 | const index = masks.indexOf(mask);
12 | return