Skip to content

Commit

Permalink
🛠 Refactor: Move to src_library
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Oct 2, 2023
1 parent f4f8d06 commit c01663a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// CGPoint+RNIDictionaryRepresentable.swift
// react-native-ios-modal
//
// Created by Dominic Go on 5/3/23.
//

import Foundation

extension CGPoint: RNIDictionaryRepresentable {
public var asDictionary: [String: Any] {
var dict: [String: Any] = [:];
dict["x"] = self.x;
dict["y"] = self.y;

return dict;
};
};

0 comments on commit c01663a

Please sign in to comment.