feat: add modal component for sighting details with content display

- Implemented ModalComponent for reusable modal functionality.
- Created SightingItemModal to manage modal state and display sighting details.
- Developed SightingModalContent to render sighting information including video feed and metadata.
This commit is contained in:
2025-12-23 10:37:02 +00:00
parent a299960dfb
commit 3b7487da09
15 changed files with 574 additions and 717 deletions

View File

@@ -54,8 +54,14 @@ export type NpedJSON = {
export type CameraSettings = {
mode: number;
imageSize: { width: number; height: number };
};
export type CameraSettingsAction = {
type: "SET_MODE";
payload: number;
};
export type CameraSettingsAction =
| {
type: "SET_MODE";
payload: number;
}
| {
type: "SET_IMAGE_SIZE";
payload: { width: number; height: number };
};