Files
Folo/apps/mobile/native/ios/ImageViewer_swift/ImageViewerOption.swift
T
Innei 6e6b7e3936 feat(ios): Use the native image preview component (#3017)
* init

* done

* feat(mobile): integrate Galeria component for image preview and carousel

Signed-off-by: Innei <tukon479@gmail.com>

* revert

Signed-off-by: Innei <tukon479@gmail.com>

* chore: auto-fix linting and formatting issues

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-10 22:41:20 +08:00

13 lines
346 B
Swift

import UIKit
public enum ImageViewerOption {
case contentMode(UIView.ContentMode)
case closeIcon(UIImage)
case rightNavItemTitle(String, onTap: ((Int) -> Void)?)
case rightNavItemIcon(UIImage, onTap: ((Int) -> Void)?)
case onPreview((Int) -> Void)
case onClosePreview(() -> Void)
case onIndexChange((Int) -> Void)
}