first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

19
node_modules/expo-image/ios/ImageLoadOptions.swift generated vendored Normal file
View File

@@ -0,0 +1,19 @@
// Copyright 2024-present 650 Industries. All rights reserved.
import ExpoModulesCore
internal struct ImageLoadOptions: Record {
@Field var maxWidth: Int?
@Field var maxHeight: Int?
@Field var tintColor: UIColor? = nil
func getMaxSize() -> CGSize? {
// If none of max dimensions are provided, just use the original image without the upper limit.
// This is important for vector images, where using `CGSize(.max, .max)`
// would actually try to create a bitmap of that size and cause a crash.
if maxWidth == nil && maxHeight == nil {
return nil
}
return CGSize(width: maxWidth ?? .max, height: maxHeight ?? .max)
}
}