Skip to content

Commit

Permalink
🛠 Refactor: Update RNIModalBaseEventData
Browse files Browse the repository at this point in the history
Related:
* TODO:2023-03-04-06-34-28 - Library Native Cleanup
* TODO:2023-03-22-12-09-34 - Move to `get` property called  `synthesizedNativeEventBase`

Summary: Refactor `RNIModalBaseEventData` to use `RNIModalData`.
  • Loading branch information
dominicstop committed Mar 26, 2023
1 parent 9e18139 commit b5ad43a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ios/src_library/React Native/RNIModal/RNIModalEvents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
import Foundation

public struct RNIModalBaseEventData: RNIDictionarySynthesizable {
let reactTag: Int;

let modalID: String?;
let modalNativeID: String;
public static var synthesizedDictionaryIgnore: [String] {
["modalData"]
};

let modalIndex: Int;
let currentModalIndex: Int;
public static var synthesizedDictionaryInlinedProperties: [
PartialKeyPath<RNIModalBaseEventData>
] {
[\.modalData];
};

let isModalPresented: Bool;
let isModalInFocus: Bool;

let synthesizedIsModalInFocus: Bool;
let synthesizedIsModalPresented: Bool;
let synthesizedModalIndex: Int;
let reactTag: Int;
let modalID: String?;

let modalData: RNIModalData;
};

0 comments on commit b5ad43a

Please sign in to comment.