about summary refs log tree commit diff
path: root/modules/expo-scroll-forwarder/ios/ExpoScrollForwarderModule.swift
blob: 53e2588258821a9c15312da0399f65b8c32bdb16 (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
      }
    }
  }
}