import ExpoModulesCore

public class ExpoCompressModule: Module {
  public func definition() -> ModuleDefinition {
    Name("ExpoCompress")

    AsyncFunction("helloAsync") { (options: [String: String]) in
      print("Hello 👋")
    }

    ViewManager {
      View {
        ExpoCompressView()
      }

      Prop("name") { (view: ExpoCompressView, prop: String) in
        print(prop)
      }
    }
  }
}
