let native scrollview handle layout

This commit is contained in:
Hailey
2024-10-09 21:37:19 -07:00
parent 359ead3ef9
commit ad896cb8dd
6 changed files with 91 additions and 45 deletions
@@ -23,6 +23,10 @@ public class BottomSheetModule: Module {
view.updateLayout()
}
Prop("containerBackgroundColor") { (view: SheetView, prop: UIColor) in
view.containerBackgroundColor = prop
}
Prop("cornerRadius") { (view: SheetView, prop: Float) in
view.cornerRadius = CGFloat(prop)
}