about summary refs log tree commit diff
path: root/modules/expo-scroll-forwarder/ios/ExpoScrollForwarderModule.swift
blob: c4ecc788e55874361f82ee963abc0b7b006626a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import ExpoModulesCore

public class ExpoScrollForwarderModule: Module {
  public func definition() -> ModuleDefinition {
    Name("ExpoScrollForwarder")
    
    View(ExpoScrollForwarderView.self) {
      Prop("scrollViewTag") { (view: ExpoScrollForwarderView, prop: Int) in
        view.scrollViewTag = prop
      }
    }
  }
}