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:
@@ -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 };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user